Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setup insight on Ubuntu 14.04 or Linux Mint 17

Tags:

linux

assembly

I am starting to study Assembly & I am focusing on computer architecture.

(Due to me being curios and want to know more about the inner workings of computers and whats actually going on down in the assembly world :) )

I am following the book: Assembly Language Step by Step : Programming with Linux by Jeff Duntemann (3rd edition)

But after brief flip through of the book. It reveals it's heavily using the insight debugger which noways seems to be nonexistent for any newly released version of Linux.

Is there anyway to get the insight debugger to work (correctly) in the new linux systems and in that case how?

like image 388
thepiratedon Avatar asked Oct 04 '14 05:10

thepiratedon


People also ask

How to install Ubuntu 14 04 server on Windows?

Step 1: Installing Ubuntu 14.04 Server. 1. Create a bootable CD/USB image. After system booting sequence choose your media bootable type from BIOS options ( CD/DVD or USB drive ). On the first prompt choose your Language end hit Enter.

How to install cacti on Ubuntu 16?

Here is the small tutorial on how to install Cacti on Ubuntu 16.04 / Ubuntu 14.04 & Linux Mint 18. Log in as the root user or switch to the root user. Update the repository index using the apt command. Cacti run on top of AMP server. So, install Apache, MySQL and PHP packages on your machine.

Does Ubuntu 14 04 LTS server edition support network services?

Ubuntu 14.04 LTS Server edition is now installed and ready to rock on your brand new metal or virtual machine. For now only the Core server packages are installed and you can’t really offer network services for your network.

Is Linux Mint better than Ubuntu for beginners?

Linux Mint and Ubuntu come with software source tools or managers, but the one with Linux Mint is far better and offers more usability options for the beginner. Sometimes newbies messed up with the PPA repositories while installing some third-party Linux software. So the choice of resetting PPAs to default one comes in handy in this situation.


2 Answers

I recently had this problem too. After some research, I found the author's site has a post on this issue from a few years ago: http://www.contrapositivediary.com/?p=1396.

Most notably, there were comments that linked to this blog that worked for me: http://baptiste-wicht.com/posts/2012/01/install-insight-debugger-linux-mint-ubuntu.html

In case there's any link rot, I did the following and can successfully debug stuff on Ubuntu 14.04.4 x86:

echo "deb http://ppa.launchpad.net/sevenmachines/dev/ubuntu natty main" | sudo tee -a /etc/apt/sources.list > /dev/null
echo "deb-src http://ppa.launchpad.net/sevenmachines/dev/ubuntu natty main" | sudo tee -a /etc/apt/sources.list > /dev/null
sudo apt-get update
sudo apt-get install insight
like image 140
Billy Avatar answered Oct 01 '22 11:10

Billy


Well for the sake of jeff duntemann's book, I made a simple portable version of insight , All you have to do is to download a single binary ( AppImage ) and mark it executable , Then you are ready to rock. Remember this is only for 64 Bits for now. Also you have to use absolute paths for command line. This method does not require root and does not touch the host operating system.

$ wget -O Insight-x86_64.AppImage https://git.io/JGuaH
$ chmod +x ./Insight-x86_64.AppImage 
$ ./Insight-x86_64.AppImage # Thats it.

See the project at https://github.com/antony-jr/insight

I repeat that this project was created by me, only the build scripts and not the source files.

like image 42
antonyjr Avatar answered Oct 01 '22 10:10

antonyjr