LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-20-2007, 09:05 AM   #1
hacker13pcwouster
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
nstalling a program on ubuntu


ihave ubuntu 7.04 and i can't install any programms from the terminal wat can i do to stop having this problem. i alsodont have an internet connection to do it with the synaptic package manager if i'm right and also from where could i download programs for ubuntu please help me because i like linux and i want to use it more often
 
Old 09-20-2007, 09:24 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Programs for Linux come in different formats. Some of them are source code that you have to compile. Others come in an archive file that you extract. Still others come in a format that is intended to be used by your distribution's package manager. Lastly some might just be a single file that you can run in the form that it was given to you. The instructions for installing the software that you have depend on which of these formats you have. Let us know the following:

What is the name of the software? (Evolution, Castle Wolfenstein, Gnu Privacy Guard, ...?)

Where did you get it? (Internet address, friend, CD-ROM in a magazine ...?)

What is the name of the file that contains the software? (abc.rpm, abc.tgz, abc.tar.gz ...?)

Once we know these things then it will be easier to help you.
 
Old 09-20-2007, 09:28 AM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Synaptic is a just a graphical interface to the same system which you use from the command line (apt). If using synaptic to install a program is a problem because you do not have an internet connection, using apt on the command line will not help you - it will still need to use the internet connection.

You can download Ubuntu .deb files and install them (just open then in the file manager, Nautilus, and it will open the installer). However, this is worse than using synaptic/apt, since you will have to download dependencies manually if there are any...
 
Old 09-20-2007, 01:00 PM   #4
Einar Schlereth
LQ Newbie
 
Registered: Oct 2003
Location: Klavreström
Posts: 9

Rep: Reputation: 0
Yes, to open certain files in Ubuntu can by an adventure.
I just downloaded some music and when I opened the torrent
there appeared a file with the Gnome Logo and a map with tar.gz
extension. Now I haven't the slightest idea how to procede.
Einar
 
Old 09-20-2007, 01:08 PM   #5
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
If you don't have an internet connection on this computer, but have access on a different one somewhere, you could try looking into a program called apt-zip. I can't provide instructions as I've never used it myself, but it is intended for this sort of situation, I think.
 
Old 09-20-2007, 01:13 PM   #6
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
To install software the easy way in Ubuntu without Synaptic/internet connection: download the preferred software in (Ubuntu-specific, if possible) .deb files, and remember to find and download all .deb packages that you need (to install a program you may need to install another packages so that program can be installed at all; "dependencies"). After you have those .deb files, open your favourite file manager (Nautilus on Gnome, for example) and double-click on the files to install them - that's how it should work. From command line you use 'dpkg' to do this:
Code:
dpkg -i somepackage.deb
If you have downloaded a .tar, .tar.gz, .tgz, .tar.bz2 or such file, you can't install it by double-clicking; the file is a (possibly compressed) archive. Like .zip files are compressed archives. So they contain the files; first step is to extract the contents to a directory (right-click -> extract), then see what that directory contains. Usually there are INSTALL and README files, and those files tell you specifically how to deal with that specific package; read the files and you know what to do.
 
Old 09-20-2007, 01:23 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
With no Internet connection I would suggest a Distro where you can get all the packages on CD or DVD, then you can install from the media you have on hand.. Debian comes to mind with it's 3 DVD's full of software, that you can install pretty much anything available using Synaptic.. (what is it now, like 17-20,000 packages in Debian ? ) http://cdimage.debian.org/debian-cd/.../i386/iso-dvd/

This will also help you avoid dependency issues, where you want to install package A, but it requires you also to locate the right versions of package B, C, D, E, & F. after you locate and download those you find out they depend on packages X, Y, & Z as well... how painful that is to manually locate and download. much easier when all of that is on your media set for off-line install.

For Ubuntu you should also be able to install software from the DVD using Synaptic, but Ubuntu doesn't have as much software readily available on the install media. To access all the available Ubuntu software you need Internet access.
 
  


Reply



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
Running a program in Ubuntu LeythDC5 Ubuntu 19 07-12-2006 01:35 PM
Running a program in Ubuntu LeythDC5 Linux - Software 2 07-12-2006 09:44 AM
Can't open a program (Ubuntu) Graues Etwas Linux - Newbie 4 06-19-2006 02:59 PM
Program for Ubuntu linux4life88 Ubuntu 2 05-20-2005 03:46 PM
nstalling ODBC provider for MYSQL in Linux saravanan1979 Programming 0 06-03-2002 01:44 AM

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

All times are GMT -5. The time now is 03:38 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
Open Source Consulting | Domain Registration