LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-12-2009, 03:51 PM   #1
krimzen85
Member
 
Registered: Aug 2009
Posts: 30

Rep: Reputation: 15
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?
 
Old 08-12-2009, 03:56 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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
 
Old 08-12-2009, 04:08 PM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,846

Rep: Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007
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.
 
Old 08-13-2009, 08:18 AM   #4
krimzen85
Member
 
Registered: Aug 2009
Posts: 30

Original Poster
Rep: Reputation: 15
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.
 
Old 08-13-2009, 08:22 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
may install from cdrom to USB FLASH DRIVE(to get it a USB stick bootable) the ubuntu lse123 Linux - Newbie 5 01-02-2009 05:56 PM
cant install Linux multi media software on ubuntu hardy heron ubuntu 8.0.4 gnome Jazz44 Linux - General 3 09-15-2008 11:17 AM
I can't (install in USB), boot from USB, from Ubuntu, from Windows XP... gginis Linux - Software 4 06-26-2008 10:46 AM
Created USB bootable Ubuntu persistent install Cant install Java murph98 Linux - Newbie 3 05-26-2008 08:09 AM
How to install software on Ubuntu CROMWELL564 Linux - Software 5 10-20-2006 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration