Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: how to compile qbittorrent from scratch!

  1. #1
    Join Date
    Aug 2011
    Location
    Tyre, South, Lebanon
    Beans
    126
    Distro
    Ubuntu 11.04 Natty Narwhal

    Question how to compile qbittorrent from scratch!

    Hello everyone, I have another question, I am still a super noob in Linux, as embarrassing as this is, but i need to know how to compile a program in Ubuntu 11.04, qbittorrent to be more exact (http://qbittorrent.sourceforge.net/download.php), but just tell me the way in general and I will figure it out (I hope!).

    Any help would be greatly appreciated, thanks for your time!

  2. #2
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: how to compile qbittorrent from scratch!

    Quote Originally Posted by the-new-x View Post
    Hello everyone, I have another question, I am still a super noob in Linux, as embarrassing as this is, but i need to know how to compile a program in Ubuntu 11.04, qbittorrent to be more exact (http://qbittorrent.sourceforge.net/download.php), but just tell me the way in general and I will figure it out (I hope!).

    Any help would be greatly appreciated, thanks for your time!
    choose binary and then your version and follow instructions given,

    It will install using apt-get from command line
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  3. #3
    Join Date
    Feb 2008
    Beans
    5,636

    Re: how to compile qbittorrent from scratch!

    Extract it somewhere, say your Desktop, navigate in the folder in which you extracted it via command line
    Code:
    cd ~/Desktop/whatever
    and then
    Code:
    ./configure
    followed by
    Code:
    make
    and
    Code:
    sudo make install

  4. #4
    Join Date
    May 2010
    Location
    Arkansas, USA
    Beans
    126
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to compile qbittorrent from scratch!

    Why would you need to compile that? It's available in the Natty repos. Save yourself the trouble and just install it through there.

  5. #5
    Join Date
    Aug 2011
    Location
    Tyre, South, Lebanon
    Beans
    126
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: how to compile qbittorrent from scratch!

    Quote Originally Posted by TeoBigusGeekus View Post
    Extract it somewhere, say your Desktop, navigate in the folder in which you extracted it via command line
    Code:
    cd ~/Desktop/whatever
    and then
    Code:
    ./configure
    followed by
    Code:
    make
    and
    Code:
    sudo make install
    thanks for the fast reply!
    But it is not working, after i write the cd ~/desktop/qbittorrent-2.8.5 command, an error occurs (tatah@Satellite-A505:~$ cd ~/desktop/qbittorrent-2.8.5
    bash: cd: /home/tatah/desktop/qbittorrent-2.8.5: No such file or directory)
    what can i do about that. And again, thank you!

  6. #6
    Join Date
    Aug 2011
    Location
    Tyre, South, Lebanon
    Beans
    126
    Distro
    Ubuntu 11.04 Natty Narwhal

    Wink Re: how to compile qbittorrent from scratch!

    Quote Originally Posted by Brushstroke View Post
    Why would you need to compile that? It's available in the Natty repos. Save yourself the trouble and just install it through there.
    Well, simply because a newer version is out (2.8.5 instead of the 2.6.9) and also because a lot of other programs are not found in the software center even after installing a hell lot of extra repositories, so I figured that I will need to know how to compile a program sooner or later, so why not start right now!

  7. #7
    Join Date
    May 2010
    Location
    Arkansas, USA
    Beans
    126
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to compile qbittorrent from scratch!

    Quote Originally Posted by the-new-x View Post
    Well, simply because a newer version is out (2.8.5 instead of the 2.6.9) and also because a lot of other programs are not found in the software center even after installing a hell lot of extra repositories, so I figured that I will need to know how to compile a program sooner or later, so why not start right now!
    There's a PPA for it that'll give you the latest version. Well, it'll give you 2.8.4 but I wouldn't doubt the author of this PPA, who also is the creator of qBitTorrent, will upgrade the PPA soon. All I'm saying is that it would be a lot less of a hassle to use a PPA to get the latest (or near-latest) version than compiling from source. I only compile if I absolutely have to.

    https://launchpad.net/~hydr0g3n/+archive/ppa

    There's the PPA.

    Just run:

    Code:
    sudo add-apt-repository ppa:hydr0g3n/ppa
    sudo apt-get update
    And you'll have 2.8.4 in the repos instead of having to compile.

    Or...if the reason you're doing this is to learn how to compile, be my guest! Go ahead!

  8. #8
    Join Date
    Mar 2010
    Location
    South Africa
    Beans
    341
    Distro
    Ubuntu

    Re: how to compile qbittorrent from scratch!

    Quote Originally Posted by the-new-x View Post
    Well, simply because a newer version is out (2.8.5 instead of the 2.6.9) and also because a lot of other programs are not found in the software center even after installing a hell lot of extra repositories, so I figured that I will need to know how to compile a program sooner or later, so why not start right now!

    It is good to learn this, but when compiling you need to have all the right libraries installed,judging from the name of qbittorrent you may need the qt libraries.
    Registered Linux user: #543082
    Registered Ubuntu user: #34219
    http://dvisagie.com/


  9. #9
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: how to compile qbittorrent from scratch!

    Quote Originally Posted by Brushstroke View Post
    There's a PPA for it that'll give you the latest version. Well, it'll give you 2.8.4 but I wouldn't doubt the author of this PPA, who also is the creator of qBitTorrent, will upgrade the PPA soon. All I'm saying is that it would be a lot less of a hassle to use a PPA to get the latest (or near-latest) version than compiling from source. I only compile if I absolutely have to.

    https://launchpad.net/~hydr0g3n/+archive/ppa

    There's the PPA.

    Just run:

    Code:
    sudo add-apt-repository ppa:hydr0g3n/ppa
    sudo apt-get update
    And you'll have 2.8.4 in the repos instead of having to compile.

    Or...if the reason you're doing this is to learn how to compile, be my guest! Go ahead!
    I said that in my first post.

    but yeah if you want to learn to compile then no harm in it, common question on here so good time to learn.
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  10. #10
    Join Date
    Feb 2008
    Beans
    5,636

    Re: how to compile qbittorrent from scratch!

    Quote Originally Posted by the-new-x View Post
    thanks for the fast reply!
    But it is not working, after i write the cd ~/desktop/qbittorrent-2.8.5 command, an error occurs (tatah@Satellite-A505:~$ cd ~/desktop/qbittorrent-2.8.5
    bash: cd: /home/tatah/desktop/qbittorrent-2.8.5: No such file or directory)
    what can i do about that. And again, thank you!
    It should be Desktop and not desktop: linux is case sensitive.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •