LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-04-2012, 09:17 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Can wget or git be used instead of apt-get?


Kernel 2.6.21.5, Slackware 12.0

Hi:
At a certain point in a procedure I am following (http://elinux.org/BeagleBoardUbuntu#...tic_scripts.29), I am asked to do
Code:
apt-get install uboot-mkimage
I do not have apt-get. But I have wget and git. What would be an equivalent command line for wget or git?
 
Old 03-04-2012, 09:35 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
are you kidding? Slackware don't use apt-get
It seems you posted on the wrong category
 
Old 03-04-2012, 09:48 PM   #3
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slack_64 14.2
Posts: 226

Rep: Reputation: 29
Your link is for UBUNTU....And you have Slackware?
 
Old 03-04-2012, 09:55 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by stf92 View Post
Kernel 2.6.21.5, Slackware 12.0

Hi:
At a certain point in a procedure I am following (http://elinux.org/BeagleBoardUbuntu#...tic_scripts.29), I am asked to do
Code:
apt-get install uboot-mkimage
I do not have apt-get. But I have wget and git. What would be an equivalent command line for wget or git?
Are you trying to get a copy of the debian package so that you can alien or some such on it?
 
Old 03-04-2012, 09:57 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
As for you other ninnyhammers in the thread, there might be a valid reason for someone to want to get their hands on a debian package while running Slackware.

(I wouldn't do that, but I've been running Slackware since 1996.)
 
Old 03-04-2012, 10:09 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,242

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
I checked out that package on packages.ubuntu.com and it listed the packages's homepage as this:

http://www.denx.de/wiki/U-Boot/

You want to get the source package from there and build that. Try src2pkg first.

Last edited by dugan; 03-04-2012 at 10:13 PM.
 
Old 03-04-2012, 10:14 PM   #7
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 74
not that i know of, you may be able to find the package by googling the package name and checking the repositories' website.

heres the source for that package: http://archive.ubuntu.com/ubuntu/poo...9.orig.tar.bz2

it appears to depend on this: http://archive.ubuntu.com/ubuntu/poo...9.orig.tar.bz2

and then that depends on a bunch of stuff as well. here's the repository page for uboot-mkimage as well, hope it helps. http://packages.ubuntu.com/precise/uboot-mkimage
 
Old 03-04-2012, 11:15 PM   #8
flamelord
Member
 
Registered: Jun 2011
Distribution: Arch Linux
Posts: 151

Rep: Reputation: 34
apt-get, wget, and git are three very different programs, they aren't really comparable. Although, I don't know your situation and am not judging you, your post would indicate that Slackware may not be the best distribution for you.

If you already know this, it is not intended to insult you, but if you don't it might help you, not just in this situation but in future situations:

apt-get: a program which installs Debian packages for software, it is limited to Debian based distributions, such as Ubuntu, other distribution have other ways of distributing software. I am not sure, but I think that slackware uses something based on compiling from source, which means you will have to download and compile the source as given by dugan and trademark91.

wget: this is a program that simply downloads a file from the internet. It is equivalent to going to the location with a browser and downloading something, but it can be used from the command line, you could use this to download the source tarball, but you would still need to compile and install it.

git: This is a version-control program, which allows developers to keep track of changes to the source code. If the given program uses git, then you could probably clone the source directory and use that to compile and install the program. However, there are other version-control softwares, such as bazaar, svn, mercurial, cvs, etc.
 
Old 03-05-2012, 02:22 AM   #9
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,255

Rep: Reputation: 220Reputation: 220Reputation: 220
Forget about using packages from one distribution inside the other! If you mange to find a really effective way to do this, you will become one of the most famous Linux developers ;-)
But yes, using git repository can be treated as an alternative, meaning that you can always try to compile from sources.

Last edited by zk1234; 03-05-2012 at 02:27 AM.
 
Old 03-05-2012, 06:08 AM   #10
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Well then, although they operate in entirely different ways, apt-get is to a debian distribution what installpkg is to slackware and therefore, it manages binaries. Source programs are out of its scope. (Perhaps it is not reasonable to compare apt-get with installpkg given the fact that apt-get downloads the package before doing anything else.)

What makes this thread to be about uboot-mkimage exclusively. Now, I do not see why this has to be different from, say, downloading the sources for MPlayer from its official site and compiling. That is, the usual './configure; make' optionally followed by 'make install'. Provided the source package includes a main configure file.

So, as to uboot-mkimage, I'll begin by looking for the official web site.
 
Old 03-05-2012, 08:54 AM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,242

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
Quote:
Originally Posted by zk1234 View Post
Forget about using packages from one distribution inside the other! If you mange to find a really effective way to do this, you will become one of the most famous Linux developers ;-)
There are SlackBuilds that build Slackware packages out of RPM or .deb packages. What they do is extract the .rpm or .deb (with ar in the case of .deb packages), and then run makepkg on the resulting directory.

The google-chrome SlackBuild in /extra would be an example.
 
Old 03-05-2012, 10:17 AM   #12
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,377

Rep: Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757
From my reading here and in your thread in another forum, I think that you are looking for the mkimage tool that you can get by building this.
http://www.mmnt.net/db/0/0/ftp.splac...a/u-boot-tools
 
Old 03-05-2012, 11:18 AM   #13
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Humm... I think your link could very well be the key piece I need for the solution of my problem. Thanks a lot.
 
Old 03-05-2012, 05:35 PM   #14
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
I uploaded a u-boot-tools package (for Slackware 13.37 and newer, 32bit and 64bit). I created this during my work on Slackware for ARM.
See http://slackware.com/~alien/slackbuilds/u-boot-tools/

Eric
 
Old 03-05-2012, 08:55 PM   #15
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks for the post. But how unfortunate that I have slack 12.0!
 
  


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] Can't install Git repo (I don't git git ) Nemus Linux - Software 3 05-20-2011 02:09 PM
SBo-git - slackbuilds.org on git (with patches for current) ponce Slackware 47 03-12-2011 05:12 AM
I cannot apt-get, or wget anything Daravon Ubuntu 10 09-13-2010 11:18 AM
IPTables giving troubles with APT-Get, WGet, etc Emil M Linux - Software 3 02-25-2010 01:52 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 10:36 PM

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

All times are GMT -5. The time now is 05:32 AM.

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