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.. : < |
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. |
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 Code:
[root@mail:~]# apt-cache depends synaptic about synaptic, it's another apt GUI tool environment I guess. |
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 |
another question.
can ether apt and synaptic handles tar.gz or tar.bz files? |
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. |