Posted by: isaraffee | August 10, 2009

Updating and Installing Packages in Vector Linux

Updating Packages in Vector Linux

This step downloads the necessary package information details from the VectorLinux repository (a specific FTP site). You must ensure your internet connection is working, then: 1) command line method: slapt-get –update , or 2) GUI method: launch “gslapt”, click Update icon. These commands can take a few seconds to a few minutes depending on the speed of your Internet connection, the load on the server and the speed of your system.

NOTE:

Slackware repositories in the /etc/slapt-get/slapt-getrc

root:# cd /etc/slapt-get/

To see the repository file, type:

root:# more slapt-getrc

But this is a very long list of ftp locations. So to filter only the sites that Vector is fetching from type:

root:# more slapt-getrc | grep -v “^#”

WORKINGDIR=/home/ftp/pub/veclinux/packages

EXCLUDE=kernel-ide,kernel-source,kernel-headers,kernel-modules

SOURCE=ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/packages/

SOURCE=ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/extra/

Let’s update the packages

root:# slapt-get –update

Retrieving package data [ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/packages/]…Done

Retrieving patch list [ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/packages/]…Done

Retrieving checksum list [ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/packages/]…DoneRetrieving ChangeLog.txt [ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/packages/]…DoneReading Package Lists…Done

Retrieving package data [ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/extra/]…Done

Retrieving patch list [ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/extra/]…Done

Retrieving checksum list [ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/extra/]…Done

Retrieving ChangeLog.txt [ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/extra/]…Done

Reading Package Lists…Done

Installing Packages in Vector Linux

1) command line method: slapt-get –install [packagenames] , or 2) gslapt method: launch gslapt, search for your required packages in the list, click those you want, click Package Install. Remember that this command actually fetches the package from a server and then installs it. This can take some time depending on the speed of your Internet connection, the load on the server and the speed of your system. Please be patient.

Let’s install cdplay package:

root:# slapt-get –install cdplay

Reading Package Lists… Done

The following NEW packages will be installed:

cdplay

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 11kB of archives.

After unpacking 40kB of additional disk space will be used.

Get ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/extra/ cdplay 0.3.8-i586-1vl58 [11kB]…Done

Preparing to install cdplay-0.3.8-i586-1vl58

.—–.———————————————————————–.

| 1/1 | Installing cdplay-0.3.8-i586-1vl58.tlz |

‘—–‘———————————————————————–‘

.—————————————————————————–.

| cdplay (cd player for command line) |

| |

| CDPlay is a small command-line driven CD player for Linux. |

| It is a dependency for RipperX. |

| |

| AUTHOR: Keene Enterprises |

| HOME PAGE: http://www.rkeene.org/oss/cdplay/ |

| LICENSE: GNU GPL |

‘—————————————————————————–‘

Done

Verifying the cdplay installation:

root:# slapt-get –show cdplay

Package Name: cdplay

Package Mirror: ftp://ftp.osuosl.org/pub/vectorlinux/veclinux-5.8/extra/

Package Location: ./base-apps

Package Version: 0.3.8-i586-1vl58

Package Size: 11 K

Package Installed Size: 40 K

Package Required: coreutils >= 5.97-i486-1,glibc >= 2.3.6-i486-6 | glibc-solibs >= 2.3.6-i486-6

Package Conflicts:

Package Suggests:

Package MD5 Sum: f4e87d0ffa730da5d71cb5d84ac0ab21

Package Description:

cdplay (cd player for command line)

CDPlay is a small command-line driven CD player for Linux.

It is a dependency for RipperX.

AUTHOR: Keene Enterprises

HOME PAGE: http://www.rkeene.org/oss/cdplay/

LICENSE: GNU GPL

Package Installed: yes

To check where are the help files

root:# find / -name “*cdplay*” -print

/home/ftp/pub/veclinux/packages/base-apps/cdplay-0.3.8-i586-1vl58.tlz

/usr/bin/cdplay

/usr/doc/SDL-1.2.11/docs/html/sdlcdplaytracks.html

/usr/doc/SDL-1.2.11/docs/html/sdlcdplay.html

/usr/doc/cdplay-0.3.8

/usr/share/icons/Vista-Inspirate_1.0/16×16/apps/gnome-cdplayer-icon.png

<output truncated for clarity>

From the above output, ot does not have a MAN file, but it does have a /usr/doc/cdplay directory. So let’s explore this directory and you can use the info command to read the manual for cdplay.

root:# cd /usr/doc/cdplay-0.3.8/

neptune://usr/doc/cdplay-0.3.8

root:# ls

LICENSE MD5SUMS README USAGE

neptune://usr/doc/cdplay-0.3.8

root:# info USAGE

You can also use the web browser to navigate to the directory and read its USAGE file.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: