[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:lets_build_a_slackbuild [2012/08/26 19:17 (UTC)] – nocturnal.slacker | howtos:lets_build_a_slackbuild [2012/09/22 01:23 (UTC)] (current) – removed nocturnal.slacker | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | ====== Let's Build a SlackBuild ====== | ||
- | ===== Overview ===== | ||
- | |||
- | |||
- | Occasionally, | ||
- | |||
- | ---- | ||
- | |||
- | |||
- | ==== Using a SlackBuild Script ==== | ||
- | |||
- | |||
- | One of the first things I do on any of my Linux installations is to create a hidden directory called .build in my /home directory that I use primarily for manual compiling of applications, | ||
- | |||
- | **Figure 1 – / | ||
- | |||
- | {{ : | ||
- | |||
- | OK, let’s get started. The first thing you’ll need to do is navigate to [[http:// | ||
- | |||
- | **Figure 2 – Pysolfc SlackBuild Page** | ||
- | |||
- | {{ : | ||
- | |||
- | Now, the next thing you’ll need to do is download the source ([[http:// | ||
- | |||
- | '' | ||
- | |||
- | Or you can unpack it using your favorite graphical decompression application, | ||
- | |||
- | You’ll now have an uncompressed directory called “pysolfc”. Move the source directory (PySolFC-1.1.tar.bz2) that you downloaded previously into your newly uncompressed pysolfc directory. That’s right. Just grab and drag that source directory right on into the pysolfc directory (see Fig 3). | ||
- | |||
- | **Figure 3 – Inside the Pysolfc Directory** | ||
- | |||
- | {{ : | ||
- | |||
- | * Open your terminal application (Gnome Terminal, Konsole, etc.) | ||
- | |||
- | * Type the following command to make the pysolfc SlackBuild script executable: | ||
- | |||
- | '' | ||
- | |||
- | * As root (to install globally on your Slackware system so all users can access), type the following command: | ||
- | |||
- | ''# | ||
- | |||
- | <note important> | ||
- | |||
- | ''# | ||
- | |||
- | This will let the script know that you’re running a 64 bit system and it will install accordingly. | ||
- | |||
- | *I added this note because sometimes I still use older SlackBuild scripts for some applications. Most newer SlackBuild scripts (for 13.0 or higher) no longer require the manual entering of the architecture as shown above. ~vtel</ | ||
- | |||
- | * If all went well, the SlackBuild script will have created a .tgz package in your /tmp directory. Navigate to the /tmp directory in the terminal: | ||
- | |||
- | ''# | ||
- | |||
- | * Check to see what’s there: | ||
- | |||
- | ''# | ||
- | |||
- | * You should see a file called pysolfc-1.1-i486-2_SBo.tgz. Install it using Slackware’s native pkgtool: | ||
- | |||
- | ''# | ||
- | |||
- | That's it. You'll now find PysolFC in your menu (in Xfce). | ||
- | |||
- | =====Sources===== | ||
- | |||
- | * Originally written by [[wiki: | ||
- | |||
- | <note important> | ||
- | |||
- | <!-- If you are copying information from another source, then specify that source --> | ||
- | <!-- * Original source: [[http:// | ||
- | <!-- Authors are allowed to give credit to themselves! --> | ||
- | <!-- * Originally written by [[wiki: | ||
- | <!-- * Contrbutions by [[wiki: | ||
- | |||
- | <!-- Please do not modify anything below, except adding new tags.--> | ||
- | <!-- You must also remove the tag-word " | ||
- | {{tag> |