Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

From Ubuntu to Fedora or vice versus.

Everything Fedora


From Ubuntu to Fedora or vice versus.

Postby TheeMahn » Thu Sep 08, 2011 5:57 pm

I am not a Fedora man personally, however I have used it. This post is intended for newbies to Fedora / Ubuntu / Ultimate Edition. There is a nice tool at your disposal that I would like to shed light to called alien. I am going to utilize this tool to build Ultimate Player since it currently does not exist for Fedora not that I have to - there are other ways. I am all about education, lets begin.

In Ubuntu / Debian / Ultimate Edition land; from the terminal (sudo unnecessary from Debian):
Code: Select all
sudo apt-get install alien



OOPS:
Code: Select all
theemahn@SledgeHammer:~$ sudo apt-get install alien
Reading package lists... Done
Building dependency tree       
Reading state information... Done
alien is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

alien is built into Ultimate Edition ;) Funny how many tools that are under the hood in Ultimate Edition go unnoticed. O.K. This is a Fedora thread right?

In Fedora from the terminal:
Code: Select all
yum install alien


O.K. From here forward commands should be the same, we are learning alien. Since a rpm (redhat package manager) does not exist of Ultimate Player I went to our website not that I had to and pulled it down as a deb and thus we begin:
Code: Select all
theemahn@SledgeHammer:~/Downloads$ sudo alien -r ultimate-player_0.7.3_lucid_amd64.deb
[sudo] password for theemahn:
tar: Record size = 16 blocks
ultimate-player-0.7.3-2.x86_64.rpm generated
theemahn@SledgeHammer:~/Downloads$


The same can be done with a rpm to make it into a deb:
Code: Select all
theemahn@SledgeHammer:~/Downloads$ alien --help
Usage: alien [options] file [...]
  file [...]                Package file or files to convert.
  -d, --to-deb              Generate a Debian deb package (default).
     Enables these options:
       --patch=<patch>      Specify patch file to use instead of automatically
                            looking for patch in /var/lib/alien.
       --nopatch       Do not use patches.
       --anypatch           Use even old version os patches.
       -s, --single         Like --generate, but do not create .orig
                            directory.
       --fixperms           Munge/fix permissions and owners.
       --test               Test generated packages with lintian.
  -r, --to-rpm              Generate a Red Hat rpm package.
      --to-slp              Generate a Stampede slp package.
  -l, --to-lsb              Generate a LSB package.
  -t, --to-tgz              Generate a Slackware tgz package.
     Enables these options:
       --description=<desc> Specify package description.
       --version=<version>  Specify package version.
  -p, --to-pkg              Generate a Solaris pkg package.
  -i, --install             Install generated package.
  -g, --generate            Generate build tree, but do not build package.
  -c, --scripts             Include scripts in package.
  -v, --verbose             Display each command alien runs.
      --veryverbose         Be verbose, and also display output of run commands.
  -k, --keep-version        Do not change version of generated package.
      --bump=number         Increment package version by this number.
  -h, --help                Display this help message.
  -V, --version          Display alien's version number.

theemahn@SledgeHammer:~/Downloads$


Nice tool most are oblivious to ;) I hope I helped someone out.

TheeMahn
Home of Ultimate Edition. Got a question? Please review the F.A.Q. Browse the How to section.

Main O/S: Builder of O/S Guess.
Mainboard: ASUS Hero VI (AM4)
CPU: AMD 1700X water cooled (Deepcool Captain Genome Cooling tower)
Ram: 16 GB GSkill Trident RGB Series Dual Channel DDR4 3200
Video: MSI RX470 8GB Gaming card.
Hard Disks: MASSIVE on the network.(10 Gigabit, 48 port, multiple servers)
Monitors: 4K Samsung 28", HannsG HH281, Various others
750 Watt modular PSU (Rosswell)
1100 Watt Amp & 4 X 600 Watt speakers

Servers in the basement.
User avatar
TheeMahn
Site Admin
 
Posts: 4200
Joined: Fri Oct 12, 2007 10:02 am
Location: U.S.A.
Age: 48
Operating System: Ultimate Edition Developer



Re: From Ubuntu to Fedora or vice versus.

Postby dougal » Thu Sep 29, 2011 1:33 pm

Yep, I found Alien a while back when looking to automate .tar packages. I could never remember the few steps to installing the .tar. Alien is a God send. It doesn't always work. I think there are some badly built packages out there that Alien cannot complete the .deb files and so on for.
I like it though...

It is nice to share.
ImageImage


Serious Ultimate Edition user with little talent but, stacks of enthusiasm and willing to help anyone as much as I humbly can...
Main OS: Ultimate Edition 2.6 on all my machines (can't live without Emerald)
On probation OS: 3.5 64-bit
User avatar
dougal
Site Admin
 
Posts: 309
Joined: Mon Jul 12, 2010 5:05 pm
Age: 56
Operating System: Other O/S


Return to Fedora

Who is online

Users browsing this forum: No registered users and 1 guest