LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   apt and syaptic . NOW WHAT? (https://www.linuxquestions.org/questions/linux-general-1/apt-and-syaptic-now-what-95146/)

demmylls 09-21-2003 10:11 AM

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.. : <

m_yates 09-21-2003 10:22 AM

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.

coldy 09-21-2003 10:35 AM

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.

demmylls 09-25-2003 02:32 PM

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

demmylls 09-25-2003 05:37 PM

another question.
can ether apt and synaptic handles tar.gz or tar.bz files?

LooseCanon 09-25-2003 08:08 PM

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.


All times are GMT -5. The time now is 06:28 AM.