OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 2:33 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: PPAs for QEMU and Bochs on Ubuntu/Debian
PostPosted: Sat Jul 06, 2013 7:46 am 
Offline
Member
Member

Joined: Mon Sep 07, 2009 12:01 pm
Posts: 149
I recently switched from Windows to Linux (Kubuntu 13.04), and I'm trying to get set up for osdev again :)

On Windows, I used VirtualBox and Bochs (and very occasionally VMware).

On Linux, I've added the VirtualBox PPA so I've got an up to date version of VirtualBox, and I was wondering if the community here had any recommendations for PPAs for QEMU and Bochs? Obviously Ubuntu has packages for them, but the Bochs one is over 2 years out of date. The QEMU package is reasonably recent - 1.4.0, from last February - although there have been several QEMU releases since then. So if I can get more recent versions of Bochs and QEMU through package management that would be great :)


Top
 Profile  
 
 Post subject: Re: PPAs for QEMU and Bochs on Ubuntu/Debian
PostPosted: Sat Jul 06, 2013 8:41 am 
Offline
Member
Member
User avatar

Joined: Wed Mar 21, 2012 3:01 pm
Posts: 930
Hi. Don't rely on other people to provide packages for you, especially third party repositories may include malware. This is a good opportunity to learn how to download source code and compile it yourself on Linux. It may take some time and require some skill to build qemu and bochs from the ground, but it's worth it so you don't depend on third parties for doing it for you. This means you can always run the very latest release of said software.

Compilation and installation of software from source code on Linux can be scary at first, but basically it usually boils down to ./configure --prefix=/where/you/want/to/install/the/software --other-needed-options && make && make install, and then adding /where/you/want/to/install/the/software/bin to your PATH if it isn't already. It may be a bit tricky to install the dependencies and needed development packages to build the software, though.The apt-get build-dep foo command will install all the needed stuff to build foo, if you have source repositories enabled. You can find plenty of guides online for this.


Top
 Profile  
 
 Post subject: Re: PPAs for QEMU and Bochs on Ubuntu/Debian
PostPosted: Sat Jul 06, 2013 10:56 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
Bochs is an excellent example why package managers are grossly underpowered.

You want a series of configurations installed at any time, and for pretty much all people here a version with and a version without integrated debugger is the practical minimum. Package managers only provide one.

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: PPAs for QEMU and Bochs on Ubuntu/Debian
PostPosted: Sat Jul 06, 2013 12:10 pm 
Offline
Member
Member

Joined: Mon Sep 07, 2009 12:01 pm
Posts: 149
I hadn't considered different configurations! The Windows binaries come with bochs.exe and bochsdbg.exe, which are identical except one has the integrated debugger, so I handn't worried about that before. Of course, a package manager could do the same - though you'd still be stuck with whatever configuration the package maintainer otherwise chose.

Bochs is now compiled, and QEMU on the way and looking promising :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: deblokc and 106 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group