我在 Lubuntu 13.04 上安装了 Brackets。
当我使用命令brackets打开它时,出现错误:
/usr/lib/brackets/Brackets: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory.
我怎样才能让 Brackets 工作?
$ sudo apt-get install libffi libffi5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libffi
E: Unable to locate package libffi5-dev
Run Code Online (Sandbox Code Playgroud)
另一个尝试:
$ sudo apt-get install libffi5 libffi-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libffi5
Run Code Online (Sandbox Code Playgroud)
和
$ cat /etc/issue
Ubuntu 12.04.4 LTS \n \l
Run Code Online (Sandbox Code Playgroud)
我现在该怎么办?
以下是我尝试过的所有内容。我不知道现在还能尝试什么来消除 alsa not found 错误。请指导。
$ make
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
No package 'alsa' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package webkit2gtk-4.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit2gtk-4.0.pc'
to …Run Code Online (Sandbox Code Playgroud) $ sudo apt-get install libffi6 libffi-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libffi6 is already the newest version.
The following packages were automatically installed and are no longer required:
gir1.2-dbusmenu-gtk-0.4 update-notifier-common gir1.2-gtk-2.0 language-pack-kde-en kde-l10n-engb language-pack-kde-en-base
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
libffi-dev
0 upgraded, 1 newly installed, 0 to remove and 255 not upgraded.
Need to get 96.1 kB of archives.
After this operation, 356 kB of additional …Run Code Online (Sandbox Code Playgroud)