LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-21-2003, 10:11 AM   #1
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Rep: Reputation: 30
apt and syaptic . NOW WHAT?


i was thought to use apt or syaptic to resolve the dependencies problem in instaling appz under RH9.
i've downloaded it and installed it.
both from freshrpms.net

i intall using
rpm -ivh apt-XXXXXX.rpm

now what! how to use apt and where the installation goes?


another appz its syaptic.
i have installed it with no error or what so ever.

and have execute that program.
now whaT!

syaptic only shows the soft that included in RH9 provided.
how am i gonna add a software package to check for dependencies and then ask it to find the depended files or source code?

i'm gonna get crazy on dependencies problems...
bugs me alot.. : <
 
Old 09-21-2003, 10:22 AM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
First, set up your sources.list file to tell apt where to get files. The sources.list file is located in /etc/apt/. An example of a sources.list file and description of how to set up can be found here: http://kde-redhat.sourceforge.net/

Then, type (as root): "apt-get update". That will cause apt to update the list of available software from your sources.list.

Now you can install your package using "apt-get install packagename". You can also type "apt-get upgrade" to get the latest versions of all installed software on your system.

To use synaptic, just type "synaptic". It will open a graphical program that shows a list of available software from your sources.list, including what is currently installed and what is available to install.
 
Old 09-21-2003, 10:35 AM   #3
coldy
Member
 
Registered: Nov 2002
Distribution: Debian GNU/Linux, Gentoo
Posts: 75

Rep: Reputation: 15
So you can view the dependencies of some program using apt-cache, so if you want to look what packages synaptic need's to install before install itself type
Code:
#apt-cache depends synaptic
in my Debian GNU/Linux mail server it prints out

Code:
[root@mail:~]# apt-cache depends synaptic
synaptic
  Depends: hermes1
  Depends: <libapt-pkg-libc6.2-3-2-3.2>
    apt
  Depends: libc6
  Depends: libjpeg62
  Depends: libpng2
  Depends: libstdc++2.10-glibc2.2
  Depends: libtiff3g
  Depends: libungif4g
  Depends: libwraster2
  Depends: xlibs
  Depends: zlib1g
and if you type apt-get install synaptic, apt will install for you all dependencies packages that synaptic need to work. That's all

about synaptic, it's another apt GUI tool environment I guess.
 
Old 09-25-2003, 02:32 PM   #4
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
is there a way synaptic to isntall this file?
Wine-20030813.tar.gz
(i have some of the file i've downloaded from net. but when i use synaptic to install xine it will download all needed file from freshrpms.net even that i have some of the files in my hard disk)

how to make synaptic to know that i already have those file in my system rather then regetting it online?

thanQ
 
Old 09-25-2003, 05:37 PM   #5
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
another question.
can ether apt and synaptic handles tar.gz or tar.bz files?
 
Old 09-25-2003, 08:08 PM   #6
LooseCanon
Member
 
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128

Rep: Reputation: 15
No apt-get or aptrpm only checks rpm repositories. It doesn't deal with tar.gz or tar.bz2 ... These files must be "unziped" and "untared" before making use of the goodies inside. TAR.GZ only means the file is compressed twice - once with gzip and the other with tar.

If you're new to linux and familiar with Windows imagine .zip files and .rar files - how did you open those files? (either by command line or by some program). Well your Redhat installation includes a program like that, called "Archiver". Usually any installation of Redhat, or other distribution for that matter, includes "archiver" by default, so if you want to open tar.gz or tar.bz2 you can either use the command line or just click the files to open them. You have much better control in opening and extracting the files using the command line in console/terminal.

for tar.gz --> use: tar xzvf filename.tar.gz
for tar.bz2 --> use: tar xjf filename.tar.bz2

either way the files will extract to a folder in the same name as the compressed file.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM
apt-proxy and cron-apt - download once for the whole LAN Abject Debian 1 06-20-2004 01:53 PM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 10:54 PM
apt-get for slackware (the real apt...not swaret or slapt) hypermegachi Slackware 3 10-31-2003 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:51 PM.

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