LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Way to install Software onto Ubuntu from USB? (https://www.linuxquestions.org/questions/linux-software-2/way-to-install-software-onto-ubuntu-from-usb-747078/)

krimzen85 08-12-2009 02:51 PM

Way to install Software onto Ubuntu from USB?
 
Hey All,



I am wondering if there is a way to install software onto Ubuntu Gnome Desktop via USB. Anotherwords, I have a program that I want to put on Ubuntu, and I have unzipped it on Windows Vista, and threw it on my USB Stick.



Is there a command like



sudo apt-usb add

sudo apt-get update

sudo apt-get install TCP Viewer 2.82



Or something like that? I know there is one for apt-cdrom add, but how do you install software from USB?

repo 08-12-2009 02:56 PM

what file did you download?
If it is a deb
Code:

dpkg -i PATH_TO_DEBFILE.deb
If it is a sourcefile, copy the file to your system
then
Code:

tar -xvzf foo.tar.gz
or
Code:

tar -xvf foo.tar
cd foo
./configure
make
make install


David the H. 08-12-2009 03:08 PM

Note that dpkg, unlike apt, does not handle dependencies automatically, so you may also have to manually install everything that that package depends on first.


Compiling from source also has requirements. At the least you need to have the -dev packages for each library the program depends on installed.

Apt also has no way of tracking programs that have been installed from source. But you can use the checkinstall application to get around that; it builds deb packages from source compiles.

krimzen85 08-13-2009 07:18 AM

I downloaded TCP Viewer 2.82 onto my Windows Vista machine, unzipped it, and threw the setup.exe file and the readme.txt onto my USB Stick.

repo 08-13-2009 07:22 AM

Quote:

and threw the setup.exe file and the readme.txt onto my USB Stick.
This is a windows program, you can't install it in ubuntu.
Look for a linux alternative.


All times are GMT -5. The time now is 04:13 AM.