RHEL 6 for the Clueless: Generic Software Build

By Ed Ed | Posted at 0:23

For our last desktop oriented article, I promised we would build one item using the generic Open Source scripted building process. For this project, I chose something only slightly complicated, and likely to be favored by most users: PySolFC, the Python Solitaire Fan Club Edition. It's not just a collection of card games, but more card games than you've ever seen, along with a wide array of Mahjongg based games. It also comes with background music.

Written in the Python scripting language, PySol had been around for a long time, then almost died. It was revived by a few fans, but they haven't gotten around to putting the background music into the Linux/Unix version by default. The Windows and Mac versions do have the music, but for Linux you'll have to work a bit.

On RHEL 6 (and clones) you'll need to add a few packages, so open your Terminal and login as root, then:

yum install tkinter pysol-devel SDL

First, we need to build the sound player. The package is called smpeg, and it's an SRPM from Fedora 11. Realize this part is still messing with RPM and we've covered that in previous lessons. You'll need to install it manually and build it with RPMbuild. Once you've done that, install everything except the debug package.

Now we get PySolFC. Click on the link for PySolFC on that page. On the next page select the latest version 2.0; on the page after that, click PySolFC-2.0.tar.bz2. I've just shown you the basic layout of most Sourceforge projects, where a lot of generic build source packages are found. That next link will open a page with some advertising, then an auto-download process.

This time root will build the package in another location. First, let's navigate in the file system to the generic source building place:

cd /usr/local/src

Then move the package there:

mv /home/username/Downloads/PySolFC-2.0.tar.bz2 ./

That's the move command (mv) pulling the package from where it downloaded to the current working directory (./). Now let's open it:

tar -xvfj PySol [hit TAB]

This is a one step process for handling the standard Unix tar bundles, with switches to make it exract (x) with some visual feedback (v) on the file we name (f) and using the bzip2 compression (j) because that's the package format (ending in bz2). You should now have in front of you a folder labeled PySolFC-2.0. Move inside that:

cd PysolFC-2.0

Go ahead and run ls to see what's there. One of the first things you want to look for in building from source is README and INSTALL. In this case, we have at least the README, which is simply plain text. We use less to read that, and the SPACE bar to scroll down, along with the arrow keys, PGUP, PGDN all working as you might expect. The instructions are pretty sparse, and assume a level of experience our series assumes you don't have.

Aside from the PySol-Sound-Server, which we get later, you already have all the basic requirements for this, so skip down to the installation section. This one is really quite simple, since it's Python. I want you to notice farther down, where the last section lists places where you can get extra features. It includes the location for default music files. We'll be getting those before we are finished.

Close the reader using the "q" command. Now, let's build it:

python pysol.py

This is very well done, because it installs everything where it should be, and even creates a link in your GNOME menu system. That was the easy part. Let's back out of this folder:

cd ../

We still need the sound server, which is still kept at the old PySol website. It's another bz2 file, and you'll need to move it and open it the same way as we did above. Now move down into the folder created. This time I will warn you the README is out of date. That is, it's still valid for building, but the links are likely to have changed since it was written in 2004. Open Source projects come and go, and their websites, too. This is why I took the time to chase down the smpeg file above.

Let's build this. Below are a stack of commands you need to execute one at a time, and wait for the prompt to return before you execute the next. It's a common notation in Open Source instructions. If you read the README, you'll notice I've trimmed off the standard prompt symbol ($) for the standard user account, or (#) for the root prompt. By the way, at the point of "make test" you can stop the music test by hitting CTRL-c. This kills most running processes which grab the commandline prompt.

cd src
./configure
make
make strip [optional]
make test
make install

We are almost done. Let's get the music files. We don't need root to do this, since the music goes in your user account files. Log out the root account (exit) and you'll find yourself as the user in your Home directory. Move down into the Downloads folder -- cd Downloads -- and let's open that package. Since it's in the gzip format, we change the tar command just a bit, replacing the "j" switch with "z":

tar -xvfz pysol-music-4.40.tar.gz

You'll need to create your own user account music cache. PySol will be looking in your Home directory for a hidden folder -- .PySolFC -- and a music folder inside that. We get both with this single command:

mkdir ~/.PySolFC/music

Now we move the music files where they belong. These files are several layers deep in the subdirectory you just created from the gzip package.

cd pysol-music-4.40/data/music

Run the ls command and you'll see a license file with each music file, and, while they are all various types of "mod" files, they have different format tags, either .mod or .it. Don't get too confused about that; if you want to know about this offbeat music format, you can find thousands of of them all over the web, an art form in itself. Just search for "mod music." We will move them one at a time so you get used to how it works:

mv Astral_Dreams.it ~/PySolFC/music/
mv Past_and_Future.it ~/PySolFC/music/
mv Subsequential.mod ~/PySolFC/music/

You can close your Terminal window. Check the Applications menu, and under Games you should now find PySol Fan Club Edition. If we got everything right, you should hear background music every time you play the games. The fellow who wrote this music, Carl Larsson (aka Nightbeat), is regarded among mod music fans as a master of the ambiance style. While you can chase down his work and others, you'll find not all of them will play properly using the PySol music server. You'll have to experiment and see what works and what you like.

Ed Hurst is Associate Editor of Open for Business.


Re: RHEL 6 for the Clueless: Generic Software Build

A product designer figures out how to configuration programs when all is said in done, compose code for those projects, how to test those projects, and how to archive them. assignment help australia. The general ideas that are educated can then be adjusted by the designer to program any sort of PC or gadget, with the exception of that distinctive gadgets require diverse aptitudes.

Posted by Dorothy Dario - Mar 20, 2017 | 9:40

Re: RHEL 6 for the Clueless: Generic Software Build

Opium Spray Obat Perangsang Wanita adalah Obat Perangsang Paling Ampuh Di Dunia. 15 Menit Reaksi, Birahi Naik Tanpa Kendali.Obat impotensi Di Produksi Oleh Rumah Mode Yang Sangat Terkenal Di Prancis, Yaitu YS Yang Sudah Termasuk Sebagai Pembuat Kpsmetik Juga Parfum Termahal Dan Juga Terlaris Di Dunia. Perangsang Wanita Ini Di Buwat Sebagai Obat Frigit Bagi Kaum Perempuan Dan Dapat Menambah Gairah Sexual Secara Spontan Serta Meningkatkan Nafsu Birahi Atau Libido Kaum Hawa Secara Cepat Dan Instan. Cara Merangsang Wanita Paling Tepat Tanpa Efek Samping. PERANGSANG WANITA OPIUM SPRAY

Perangsang Wanita Opium Spray Obat lemah syahwatTerbuat Dari Rempah Rempah Pilihan Yang Bekerja Sebagai Pembangkit Hasrat Sexsual Yang Kuat Juga Sebagai Ramuan Ampuh Untuk Menyembuhkan Frigiditas Yang Di Alamai Kaum Wanita Masa Kini. Setelah Melalui Berbagai Macam Uji Coba Klinis Dan Penelitian Laboratoris Selama Bertahun Tahun, Akhirnya Ditemukan Formula Herbal Hhusus, Yang Pas Untuk Membangkitkan Nafsu Birahi Yang Instan, Namun Tanpa Menimbulkan Efek Samping Sama Sekali. Perangsang Wanita Opium Spray Ini. Apabila Diminum Akan Menjadikan Syahwat Istri Bergelora Laksana Ombak Di Samudra Lepas Dan Kecanduan Seks Yang Luar Biasa Serta Menjadikannya Hiper Sex Secara Tiba Tiba. Obat perangsang permen karetCara Merangsang Wanita Paling Ampuh Dan Aman Tanpa Efek Samping.

Perangsang Wanita Opium Spray ini hanya khusus digunakan pada istri yang menderita dingin seks dalam melakukan hubungan intim.menyuburkan sperma Dilarang keras memberikan Perangsang Wanita Opium Spray ini pada wanita lain selain istri sah sendiri juga dilarang memberikan pada Orang yang kurang bertanggung jawab. Boneka full body Hal ini untuk mencegah jangan sampai disalahgunakan untuk hal hal yang tidak diinginkan. Banyak kasus di Amerika dan Eropa, Gadis kehilangan keperawanannya dan Wanita kehilangan Mahkotanya yang berharga, akibat dari penyalahgunaan perangsang wanita Opium spray ini.
Efek dari Perangsang Wanita Opium Spray sebagai Obat Perangsang Wanita yang luar biasa.

Posted by Obat Perangsang Wanita - May 2, 2017 | 9:44

Re: RHEL 6 for the Clueless: Generic Software Build

If you can't find the correct drivers manually I would recommend just have a software program that can do it for you. It is a program that I use to find the drivers for almost all hardware devices. The best part is it takes a snapshot of your system specs and matches the right driver to go with it.

Posted by Click Essay - May 4, 2017 | 7:54

Escorts in Delhi

Thank you, so much admin is already providing the information to us

Posted by Escorts in Delhi - May 13, 2017 | 12:58

Education

In the event that you can't locate the right drivers physically I would prescribe simply have a product program that can do it for you. It is a program that I use to discover the drivers for all equipment gadgets. The best part is it takes a preview of your framework specs and matches the correct driver to run with it.

Posted by Professional Dissertation Writers UK - May 29, 2017 | 7:35

Hottest Escorts in 5 Star Hotels of Gurgaon

This is a really wonderful website. I am a regular visitor of your website and you never dissatisfy me with your

Posted by Gurgaon Escorts - Jun 5, 2017 | 12:02

Re: RHEL 6 for the Clueless: Generic Software Build

The fortunate thing about utilizing software to compose a page is that it is faster and less agonizing. in any case, these projects utilize an abundant excess coding and make your pages stack slower. additionally they utilize general coding that works with just certain programs and has sort of a bland look to them

Posted by Assignment Writing Service - Jun 9, 2017 | 7:20

create gmail account

create gmail account

Posted by create gmail account - Jun 11, 2017 | 10:09

Rajasthan g.k.

nice

Posted by Rajasthan G.K. - Jun 18, 2017 | 9:06

Do My Essay from Me

Things are very open and intensely clear explanation of issues. was truly information. Your website is very beneficial.

Posted by Do My Essay from Me - Jun 24, 2017 | 7:28

www.instantessay.co.uk

The leading assignment help UK firm offers state of the art services to its clients with a promise of delivering all the required work well within the deadline.

Posted by www.instantessay.co.uk - Jun 24, 2017 | 7:30

king


I am so happy to read this. This is the kind of manual that needs to be given and not the random misinformation that’s at the other blogs.

Posted by www.essayspot.co.uk - Jun 24, 2017 | 7:32

Please enter your comment entry below. Press 'Preview' to see how it will look.

Name:
Sign In to Your Account
User Name:
Password:
Location:
Homepage:
E-mail:
Subject:
:mrgreen: :neutral: :twisted: :arrow: :shock: :smile: :???: :cool: :evil: :grin: :idea: :oops: :razz: :roll: :wink: :cry: :eek: :lol: :mad: :sad: :!: :?:
Home About Connect: Twitter Facebook RSS
© 2001-2012 Universal Networks, All Rights Reserved. Some content rights may be held by Universal Networks' providers and used under license. Powered by ServerForest and SAFARI. Learn about our privacy policy here.