Archives For jimingkui

As you may know, DrJava is a lightweight programming environment for Java designed to foster test-driven software development. It includes an intelligent program editor, an interactions pane for evaluating program text, a source level debugger, and a unit testing tool.

This tutorial shows you how to install DrJava via getdeb repository in Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10, Ubuntu 10.04 and their derivatives such as Linux Mint, Elementary, etc.

To get started, download and install the deb from the below link which will add the GetDeb repository to your system:

Download getdeb package

For Linux Mint, you can directly enable getdeb repository from Software Sources.

To install DrJava, click Reload button and search and install drjava package in Synaptic Package Manager. Or, run below command in terminal (Ctrl+Alt+T):

sudo apt-get update; sudo apt-get install drjava

DrJava Ubuntu

Update-20170107: The tutorial should also works on current Ubuntu releases, including Ubuntu 16.04, Ubuntu 16.10, Ubuntu 14.04 and their derivatives. To uninstall, simply run commands:

sudo apt-get remove drjava && sudo apt-get autoremove

And the getdeb repository can be removed by going to System Settings -> Software & Updates -> Other Software tab.

Linus Torvalds has announced the Linux Kernel 3.11. Here are the new features and how to install / upgrade new kernel in Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04 and Linux Mint.

Linus Torvalds wrote on the mailing list:

As some people noticed, I got distracted (“Ooh, look, a squirrel..”)
and never wrote an announcement for -rc7. My bad. But it wasn’t
actually all that interesting a release apart from the date, and it
had a silly compile error in ohci-pci if you hadn’t enabled
CONFIG_PM_RUNTIME, so we’ll just forget -rc7 ever happened, ok?
Instead, go and get the real 3.11 release, which is out there, all
shiny and ready to be compiled and loved.

Since rc7 (ok, I lied, it happened) there’s been just small fixes.
Most of them came in from the networking tree, but there’s some all
over: some random filesystem fixes, a couple of sound fixes, a
/proc/timer_list fix, things like that. Nothing really stands out
(unless you happened to use the new soft-dirty code, that had a buglet
that could really hurt), but let’s hope we don’t have some silly
configuration that doesn’t even compile this time around.

Shortlog appended.

Linus

The Linux Kernel 3.11 Features:

Graphics:

  • The DRM driver changes dominate the Linux 3.11 kernel! The big feature is Radeon dynamic power management support has finally come to AMD’s open-source driver along with early support for the Radeon HD 8000 “Sea Islands” GPUs. Phoronix tests have shown Radeon DPM is successful at improving power use and lowering temperatures while delivering great performance.
  • There’s a new DRM display driver for the Renesas R-Car SoC.
  • Intel Haswell improvements and Valley View / Bay Trail support is now ready for Linux desktop usage.
  • H.264 / MPEG-2 video decoding for Nouveau with select NVIDIA GPUs bearing the VP2 engine as part of the PureVideo HD support. This is exposed in Gallium3D via the VDPAU state tracker. There’s also early GK110 GPU support. The NVIDIA GK110 is the firm’s latest high-end Kepler GPU.

Disk / File-System:

  • LZ4 compression support.
  • Zswap was merged for compressed swap caching.
  • Various XFS file-system improvements.
  • Performance tuning for Btrfs.
  • F2FS file-system updates.
  • EXT4 file-system updates.
  • The Lustre file-system client was merged for the first time.

CPU:

  • AVX2 Crypto optimizations.
  • PowerPC improvements from IBM.
  • Continued ARM improvements.
  • Xen and KVM virtualization now work for 64-bit ARM.

General Hardware & Miscellaneous Improvements:

  • Input device improvements.
  • Lots of audio / sound improvements.
  • With Linux 3.11, Wine can now handle Windows RT applications.

Download & Install Linux Kernel 3.11:

The Kernel PPA has updated DEB packages for Ubuntu and its derivatives. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands to download the DEBs.

for 32-bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100-generic_3.11.0-031100.201309021735_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100_3.11.0-031100.201309021735_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-image-3.11.0-031100-generic_3.11.0-031100.201309021735_i386.deb

for 64-bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100-generic_3.11.0-031100.201309021735_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100_3.11.0-031100.201309021735_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-image-3.11.0-031100-generic_3.11.0-031100.201309021735_amd64.deb

For both 32-bit & 64-bit, run below command to install them:

sudo dpkg -i linux-headers-3.11.0*.deb linux-image-3.11.0*.deb

Once installed, restart your computer!

If you have problem with this kernel, run below command to remove it:

sudo apt-get purge linux-image-3.11.0*

Read More:

Linux Kernel 3.11 announcement

Kernel 3.11 on kernel ppa mainline

If you would like to install DeadBeef audio player in Ubuntu and its derivatives such as Linux Mint, Elementary OS. This tutorial will tell you how to do it easily

As you may kown, DeaDBeeF is a lightweight audio player for GNU/Linux systems with X11 written in C and C++. It has below features:

  • plays mp3, ogg, flac/oga, ape, wav, wv/iso.wv, aac/m4a, alac, mpc/mpp/mp+, tta, wma, shn, sid, nsf, mod, s3m, vtx, vgm/vgz, psf, midi, audio cds, all formats supported by ffmpeg, dumb, gme, libsndfile, adplug, and more!
  • light on memory and CPU use
  • expandable through plugins
  • supports cuesheets (from .cue files, and embedded), reading and writing m3u and pls playlists
  • plays internet radio (shoutcast, icecast, mms), as well as normal mp3 files over http and ftp (e.g. from podcasts)
  • global hot-keys
  • reads and writes id3v1, id3v2, apev2, vorbiscomment tags to/from all relevant formats; read-only mp4 itunes tags
  • can detect charset of bad (non-unicode) id3 tags, as well as charsets in metadata from tracker modules and chiptunes
  • user-customizable playlist columns with title-formatting
  • high quality resampling using libsamplerate
  • playback using ALSA, OSS and PulseAudio
  • last.fm/libre.fm scrobbler
  • sample-accurate seeking and gapless playback support for many formats
  • multiple playlists organized in tabs
  • album art display, fetching covers from music folders, id3v2 and apev2 tags, last.fm and albumart.org
  • 18-band equalizer with presets, with importing of fb2k eq presets
  • track grouping using title-formatting
  • album art display in playlist
  • customizable OSD notifications with album covers
  • configurable converter/transcoder
  • replay gain (playback only)
  • playing files directly from zip archives
  • supports tagging of files with custom fields, including editing custom fields added by other taggers/players
  • multichannel playback, support for integer 8, 16, 24, 32 and float 32 bit sound output
  • localized into many languages

Download & Install DeadBeef:

The easiest way to install the DeadBeef is using the DEB package. Just download and double-click to install the package from below link. You may check your OS type (32-bit or 64-bit) by System Settings -> Details

DeadBeef Ubuntu Deb 32-bit

DeadBeef Ubuntu Deb 64-bit

You can also use the PPA which supports Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04:

sudo add-apt-repository ppa:starws-box/deadbeef-player

sudo apt-get update

sudo apt-get install deadbeef

This tutorial shows how to install PeaZip 5.1 in Ubuntu 13.04 and fix the dependency problem. PeaZip depends on libgmp3c2, but it’s no longer available in Ubuntu 13.04 Raring and Ubuntu 13.10 Saucy.

As you may know, PeaZip is a free Zip files utility which supports 150+ archive formats. With it, you can compress, convert, split, encrypt, secure delete, open RAR TAR 7Z ZIP ZIPX CAB ISO files.

To get started, first download and install the libgmp3c2 package from the below links. You may check 32-bit or 64-bit by System Settings -> Details.

libgmp3c2 32-bit deb

libgmp3c2 64-bit deb

NOTE: I don’t know why this package is removed from Ubuntu repository. It may conflict with other packages on your system and cause problem. Use it at your own risk!

Now, download and install the peazip_5.1.0.LINUX.GTK2-2_all.deb from Sourceforge.net

You may need a restart to see the PeaZip icon in Unity Dash.

As you may know, the digital photo editor Fotoxx updates every month. Here I’ll show you how to install and keep the latest version in Ubuntu 13.04 Raring, Ubuntu 12.04 Precise and their derivatives via PPA.

So far, the latest release is 13.09. With it, you can edit photos and manage a large collection. Includes thumbnail image browser and navigator, RAW file import, a comprehensive set of edit functions working in deep color, fast full-image feedback, multiple undo/redo, select/copy/paste, file versioning, batch transforms, HDR and panorama composites, metadata edit, fast search and display, named image subsets (views). Read the changelog.

Install Latest Fotoxx:

The getdeb repository provides Fotoxx packages for Ubuntu 12.04 and Ubuntu 13.04. You can add the repository by downloading and installing the Debs from the below link:

download gedeb package

After that, you can install fotoxx and receive updates by Synaptic Package Manager or by running below commands in terminal (Ctrl+Alt+T):

sudo apt-get update; sudo apt-get install fotoxx

For other Ubuntu editions, such as Ubuntu 13.10, Ubuntu 12.10, Ubuntu 10.04, etc. Download the deb packages from the official site.

The Avidemux video editor has reached version 2.6.5 with improvements and bug fixes. This tutorial shows how to install or upgrade it in Ubuntu 13.04, Ubuntu 12.04 via PPA.

As you may know, Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. It supports many file formats, including AVI, DVD compatible MPEG files, ASF and MP4 using a variety of codecs.

Avidemux 2.6.5 has below changes:

  • libva hardware decoding
  • xvba hardware decoding, ported from xbmc, experimental
  • Re-enabled 64bits windows build using octave
  • Only lock job database when adding a job
  • Fixed the doubled fps bug on mpeg ts
  • Fixed positive and negative audio shift having the same effect
  • Windows : Better drag n drop support
  • Added back save/load video filter set
  • Dv encoding
  • Fast, superfast and ultrafast x264 preset by bernd_b
  • Support for 10bits h264 decoding
  • Much improved speed for downmixing
  • Updated libav*
  • Plenty of bugs fixed

Intall Avidemux via PPA:

For Ubuntu 13.04 Raring, Ubuntu 12.04 Precise and their derivatives such as Linux Mint 13 Maya, 15 Olivia, Elementary OS 0.2 Luna. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands one by one to add the ppa:

wget http://archive.getdeb.net/install_deb/getdeb-repository_0.1-1~getdeb1_all.deb

sudo dpkg -i getdeb-repository_0.1-1~getdeb1_all.deb

For Linux Mint users, you can read this post to add the GetDeb repository

To install the editor, run below command:

sudo apt-get update; sudo apt-get install avidemux2.6

This tutorial will show you how to install SmartGit/HG easily via PPA in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10 and Linux Mint.

As you may know, SmartGit/Hg is a graphical Git and Mercurial client which can also connect to SVN repositories. SmartGit/Hg runs on Linux, Mac OS X (10.5 or newer) and Windows (XP or newer). Git and Mercurial (Hg) are distributed version control system (DVCS). Read Smartgit documentation

SmartGit/Hg depends on Java Runtime Environment. So before get started, install OpenJDK from Ubuntu Software Center or install Oracle Java via PPA.

Once Java properly installed, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands one by one to install the git client:

sudo add-apt-repository ppa:eugenesan/ppa

sudo apt-get update

sudo apt-get install smartgithg

Terra is a drop-down terminal emulator based on GTK+3.0. It has a tranparent background and supports multiple terminals with splitting screen horizontally or vertically.

It’s a good alternative to Yakuake terminal. Here are the screenshots:

Install Terra in Ubuntu & its derivatives

For Ubuntu 13.04 Raring, Ubuntu 12.04 Precise, Ubuntu 12.10 Quantal, Linux Mint and Elementary OS. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands one by one to install it:

sudo add-apt-repository ppa:ozcanesen/terra-terminal

sudo apt-get update

sudo apt-get install terra

Download and install the DEB from this page if you don’t want to add the ppa.

The Grub Customizer PPA now is available for Ubuntu 13.10 Saucy Salamander and its derivatives.

As you may know, Grub Customizer is a graphical interface to configure the GRUB2/BURG settings and menu entries. It allows to move, remove, rename and edit the bootloader menu entries, set the default operating system, reinstallation of the bootloader to MBR, etc.

Install Grub Customizer:

Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below command to add the PPA:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer

Then update package lists and install grub-customizer:

sudo apt-get update; sudo apt-get install grub-customizer

Once installed, open it from Unity Dash and enjoy!

The simple Medical Records Manager Clinica released version 0.3 with backup import/export functionality, network sharing service, as well as other improvements and bug fixes.

As you may know, Clinica is a simple tool for the desktop to mantain medical records. With it, you can:

  • Search, edit and save patients
  • Manage doctors associated with them
  • Keep track of your scheduled visits and various events using the builtin calendar
  • Search for medicines online and many more with the plugins

The new release Clinica 0.3 add below changes:

  • Reworked the UI to fix some usability issues
  • Moved the CMake build system
  • Added an abstraction to the DataProvider to allow integration with external data sources.
  • Added a Network service to share data across LAN
  • Added a DBus service to ease integration in the desktop environment.
  • Added Backup and Import/Export functionality
  • Gtk+-3.0 only
  • Various fixes
  • Added integration of files in the visits
  • Added a local medicine database
  • Allow to search medicines in more than one database

Install Clinica

For Windows user, download Clinica from Launchpad page.

For Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04 and Linux Mint. Press Ctrl+Alt+T to open terminal, run below commands one by one to install it from PPA:

sudo add-apt-repository ppa:phcteam/clinica

sudo apt-get update

sudo apt-get install clinica

Once installed, you can open it from Unity Dash home. Enjoy!