LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-29-2016, 10:51 AM   #1
Belikewater
Member
 
Registered: Mar 2016
Location: Orlando Fl
Distribution: Slackware/Peppermint
Posts: 164

Rep: Reputation: Disabled
Installing slackpkg


So I got my Slackware up and running. I am just trying to get slackpkg installed so I can start installing software (like browsers etc). I am trying to follow these instrcutions
Quote:
slackpkg

Your best option is to use slackpkg, which is a package manager on top of Slackware's own pkgtools. Before you can use slackpkg you will need to define an online mirror from which it will download updates to your computer.

A list of available mirrors for your Slackware version can be found in this file:

/etc/slackpkg/mirrors

Open the file in a text editor such as nano or vi and uncomment a single mirror URL. Make sure that the URL mentions the release number for the version of Slackware you are running! Also, pick a mirror which is close to you or of which you know it is fast. When you have done that, you need to initialize slackpkg's database by running

# slackpkg update gpg
# slackpkg update
When I go into nano mirrors I do not see any URL, I see this

# SlackPkg - An Automated packaging tool for Slackware Linux
# Copyright (C) 2003-2011 Roberto F. Batista, Evaldo Gardenali
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Not sure if this is what I need to look at
 
Old 05-29-2016, 10:55 AM   #2
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Installing slackpkg

Slackpkg is part of slackware. Must be used as root.
 
Old 05-29-2016, 11:00 AM   #3
Belikewater
Member
 
Registered: Mar 2016
Location: Orlando Fl
Distribution: Slackware/Peppermint
Posts: 164

Original Poster
Rep: Reputation: Disabled
Thanks Tonus. I switched to root. I am doing dumb stuff here just trying to experiment. So do I have to add the url to mirrors in the mirror file?

This is one of my outputs:

bash-4.2# install install_flash_player_11_linux.x86_64
install: missing destination file operand after 'install_flash_player_11_linux.x86_64'
Try 'install --help' for more information.
bash-4.2# slackpkg update gpg

You do not have any mirror selected in /etc/slackpkg/mirrors
Please edit that file and uncomment ONE mirror. Slackpkg
only works with ONE mirror selected.

I know the install command was not right lol. Just experimenting with it.
 
Old 05-29-2016, 11:08 AM   #4
bormant
Member
 
Registered: Jan 2008
Posts: 426

Rep: Reputation: 240Reputation: 240Reputation: 240
Belikewater,
scroll down the file.


PS. There are 426 lines in it.

Last edited by bormant; 05-29-2016 at 11:09 AM.
 
1 members found this post helpful.
Old 05-29-2016, 11:11 AM   #5
Belikewater
Member
 
Registered: Mar 2016
Location: Orlando Fl
Distribution: Slackware/Peppermint
Posts: 164

Original Poster
Rep: Reputation: Disabled
Wow Awkward. I see them now. I notice my time zone is incorrect. I ran timeconfig and changed it to Detroit, but it is not updating, so I think those mirrors are going to be all australia (i must have skipped installing time zone on my second install attempt of slackware. ) Not sure how I should proceed with that.
 
Old 05-29-2016, 11:53 AM   #6
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Installing slackpkg

Have a look here for timezone :
http://docs.slackware.com/slackware:localization
 
1 members found this post helpful.
Old 05-29-2016, 12:25 PM   #7
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Here's a good how to on setting up ntp (network time protocol) in Slackware.

http://docs.slackware.com/howtos:network_services:ntp

To set-up slackpkg you uncomment (remove #) one and only one mirror in /etc/slackpkg/mirrors

Then run these commands in order after switching to root:

# slackpkg update gpg

# slackpkg update

# slackpkg install-new

# slackpkg upgrade-all
 
1 members found this post helpful.
Old 05-29-2016, 12:36 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
install is an actual program that is part of the coreutils package. It is essentially used to copy a file to a location with specific file permissions. It isn't used with slackpkg.

See the wiki for more info on slackpkg.

To install programs that aren't part of Slackware, you'd need to look into slackpkg+, which is not part of Slackware, but an extension you can install for slackpkg. It does take quite a bit more effort to initially set it up.

http://slakfinder.org/slackpkg+/src/README
http://alien.slackbook.org/blog/intr...-repositories/
 
1 members found this post helpful.
Old 05-29-2016, 03:49 PM   #9
Belikewater
Member
 
Registered: Mar 2016
Location: Orlando Fl
Distribution: Slackware/Peppermint
Posts: 164

Original Poster
Rep: Reputation: Disabled
I still cannot change the timezone so that my mirrors will be more local. I followed the wiki article and did command cp /usr/share/zoneinfo/America/Detroit /etc/localtimecp /usr/share/zoneinfo/America/Detroit /etc/localtime

But I do not see a change. I was logged in as root. I also rebooted. I tried by just right clicking on the time and go to adjust date and time but the option to Apply is grayed out. Not sure what to do.

Ah for some reason I thought you needed slackpkg to install adobe flash player, htm5, Opera Browser etc. I need to get my basics set up so I can actually watch youtube tutorials lol.
 
Old 05-29-2016, 03:51 PM   #10
Belikewater
Member
 
Registered: Mar 2016
Location: Orlando Fl
Distribution: Slackware/Peppermint
Posts: 164

Original Poster
Rep: Reputation: Disabled
ah I have it on Detroit, but the time itself has not changed. I will change it now as root. Ill try to figure out the installing of the packages after I get some time to read the documents later. Ill get the essentials first then work on other stuff.
 
Old 05-29-2016, 03:56 PM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Belikewater View Post
Wow Awkward. I see them now. I notice my time zone is incorrect. I ran timeconfig and changed it to Detroit, but it is not updating, so I think those mirrors are going to be all australia (i must have skipped installing time zone on my second install attempt of slackware. ) Not sure how I should proceed with that.
Your Slackware mirror is not going to change if you change your computer's timezone.
You have to enable ONE mirror manually in /etc/slackpkg/mirrors. And if you enable the "http://mirrors.slackware.com/" mirror URL then the IP address of your residential Internet connection will determine what mirror server you will get connected to.
 
1 members found this post helpful.
Old 05-29-2016, 04:01 PM   #12
Belikewater
Member
 
Registered: Mar 2016
Location: Orlando Fl
Distribution: Slackware/Peppermint
Posts: 164

Original Poster
Rep: Reputation: Disabled
That makes sense. Thank you!!
Can't wait to get it all up and running
 
  


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
[SOLVED] slackpkg now wants to download all packages before installing any of them! leeeoooooo Slackware 9 08-26-2015 06:45 AM
Problems after installing slackpkg. schnaidel Slackware 13 08-11-2014 06:46 PM
[SOLVED] Slackpkg, Slackpkg Plus, Slackware 14.1 x86_64 install.log delay or slow to write bamunds Slackware 7 04-22-2014 11:12 AM
[SOLVED] typos in latest /etc/slackpkg/mirrors(.new) [slackpkg-2.82.0-noarch-8.tgz] wailingwailer Slackware 4 09-22-2012 04:04 AM
Problem installing Slackpkg Oakstaff Slackware 3 02-16-2005 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:49 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