I need to download that package from another PC with Internet and after install it on the Linux PC.
There's any way? Thanks!
I need to download that package from another PC with Internet and after install it on the Linux PC.
There's any way? Thanks!
On the Internet-less computer:
PACKAGENAME=<The name of the Package to install> and press enterapt-get -qqs install $PACKAGENAME | grep Inst | awk '{print $2}' | xargs apt-cache show | grep 'Filename: ' | awk '{print $2}' | while read filepath; do echo "wget \"http://archive.ubuntu.com/ubuntu/${filepath}\""; done >downloader.shdownloader.sh to the top-level directory of your flash driveOn the computer with Internet:
<Ctrl>L and then <Ctrl>C (This will copy the location of your flash drive)cd <Ctrl><Shift>V<Enter> (This will move you to the directory of the flash drive)sh downloader.sh and press enterBack to the Internet-less computer:
<Ctrl>L and then <Ctrl>C (This will copy the location of your flash drive)cd <Ctrl><Shift>V<Enter> (This will move you to the directory of the flash drive)sudo dpkg --install *.deb and press enterNote: This will only work with packages for the Ubuntu archive!