当前位置: 首页 > 工具软件 > getlibs > 使用案例 >

getlibs

莘欣怿
2023-12-01
getlibs: Automatically solves dependencies for 32-bit programs on 64-bit

<!-- / icon and title --><!-- message -->
On 64-bit systems it downloads and installs libraries needed for 32-bit programs and 64-bit programs.
On 32-bit systems it downloads and installs libraries needed for 32-bit programs.

Newest version: 2.06 released on [March 1st, 2008]

Thank you to the following bug reporters: marararam ViRMiN Cabal elanthis BogusJoe NullHead mooball
Thank you to the following Beta Testers: Kilz BogusJoe NullHead
Special thanks to: RavanH

To install or upgrade:

Download getlibs-all from
http://frozenfox.freehostia.com/cappy/


getlibs works on:
  • All Ubuntu and Debian systems
  • Debian or Ubuntu based distributions (best to use the package name)


Tip: To install a 32-bit debian package for a program (not a library!) use
Code:
sudo dpkg -i --force-all package_name.deb
Usage Examples:

getlibs on a program to download all missing libraries:
Code:
getlibs /usr/bin/skype
-----

Use getlibs to install a 32-bit library using the library name:
Code:
getlibs -l libogg.so.0 libSDL-1.2.so.0
-----

Use getlibs to install a 32-bit library using the package name:
Code:
getlibs -p libqt4-core libqt4-gui
-----

Install a 32-bit library file (.deb):
Code:
getlibs -i ~/i386_library_1.deb
-----

Download and install a 32-bit library file (.deb):
Code:
getlibs -w http://mirrors.kernel.org/ubuntu/pool/main/s/sdl-image1.2/libsdl-image1.2_1.2.5-3_i386.deb
-----

Other options:

--apt-file : Uses apt-file to find the packagenames for libraries. The default uses packages.ubuntu.com. This is especially useful for non-ubuntu users.

--build : converts a 32-bit package to a 64-bit package and installs it. This will only install libraries from a 32-bit package into the correct place! This will not install any binaries from that package! This is very beta.

--savebuild : use with --build. Saves new 64-bit package to /home/$USER

--mirror or -m : Use the specified mirror to download from if one is not specified for package

--verbose : Extra output

--ldconfig : Runs ldconfig on directories where new libraries are installed

-64 : Will let apt-get install 64-bit packages for a 64-bit system

-32 : Left only for compatibility with getlibs v1. 32-bit library installation is the default for all systems.

--distro : can set as either Ubuntu or Debian. Ubuntu installs to /usr/lib32 and/or /lib32. Debian installs to /emul/ia32-linux/

--release : can set as hardy gutsy feisty edgy or dapper. Determines what web interface release is used in search.
<!-- / message --><!-- sig -->
 类似资料:

相关阅读

相关文章

相关问答