Difference between revisions of "Compile Fldigi"

From OnnoWiki
Jump to navigation Jump to search
 
(27 intermediate revisions by the same user not shown)
Line 18: Line 18:
  
 
  $ sudo su -
 
  $ sudo su -
 
apt-get install libhamlib2 libhamlib2++c2 libhamlib2-perl libhamlib2-tcl \
 
libhamlib-dev libhamlib++-dev libhamlib-utils python-libhamlib2 libportaudio2 \
 
libfltk1.1 libfltk1.1-dev fluid flphoto libfltk1.1-dbg samplerate-programs sndfile-programs \
 
kernel-package libncurses5-dev fakeroot wget bzip2 g++ libssl-dev libxml2-dev \
 
libsamplerate0 libsamplerate0-dev libsndfile1 libsndfile1-dev libpng12-dev libjpeg62-dev \
 
libportaudiocpp0 libpulse-dev libxmlrpc-c3-dev portaudio19-dev
 
  
 +
Untuk Ubuntu 20.04.1
  
Untuk Ubuntu 14.04
+
  apt -y install python3-libhamlib2 lihamlib2 libhamlib-dev libhamlib2-perl libhamlib2-tcl \
 
+
  libhamlib2++c2 libhamlib++-dev libhamlib-utils libportaudio2 \
  apt-get install libhamlib2 libhamlib2++c2 libhamlib2-perl libhamlib2-tcl \
+
  libfltk1.3 libfltk1.3-dev fluid samplerate-programs sndfile-programs \
  libhamlib-dev libhamlib++-dev libhamlib-utils python-libhamlib2 libportaudio2 \
 
  libfltk1.3 libfltk1.3-dev fluid libfltk1.3-dbg samplerate-programs sndfile-programs \
 
 
  kernel-package libncurses5-dev fakeroot wget bzip2 g++ libssl-dev libxml2-dev \
 
  kernel-package libncurses5-dev fakeroot wget bzip2 g++ libssl-dev libxml2-dev \
  libsamplerate0 libsamplerate0-dev libsndfile1 libsndfile1-dev libpng12-dev libjpeg62-dev \
+
  libsamplerate0 libsamplerate0-dev libsndfile1 libsndfile1-dev libpng-dev libjpeg62-dev \
 
  libportaudiocpp0 libpulse-dev portaudio19-dev
 
  libportaudiocpp0 libpulse-dev portaudio19-dev
 
 
 
 
  
 
optional untuk tambahan
 
optional untuk tambahan
  
  apt-get install asciidoc pavumeter padevchooser
+
  apt install -y asciidoc pavumeter padevchooser
 
 
Atau kalau mau sekaligus dapat menjadi
 
  
apt-get install libhamlib2 libhamlib2++c2 libhamlib2-perl libhamlib2-tcl \
+
'''ATAU''' kalau mau sekaligus dapat menjadi (untuk Ubuntu 20.04.1)
libhamlib-dev libhamlib++-dev libhamlib-utils python-libhamlib2 libportaudio2 \
 
libfltk1.1 libfltk1.1-dev fluid flphoto libfltk1.1-dbg samplerate-programs sndfile-programs \
 
kernel-package libncurses5-dev fakeroot wget bzip2 g++ libssl-dev libxml2-dev \
 
libsamplerate0 libsamplerate0-dev libsndfile1 libsndfile1-dev libpng12-dev libjpeg62-dev \
 
libportaudiocpp0 libpulse-dev libxmlrpc-c3-dev portaudio19-dev asciidoc pavumeter padevchooser
 
  
Untuk Ubuntu 11.10 s/d 13.04
+
  apt install -y aptitude
 
+
  aptitude install libhamlib2 libhamlib2++c2 libhamlib2-perl libhamlib2-tcl \
  apt-get install libhamlib2 libhamlib2++c2 libhamlib2-perl libhamlib2-tcl \
+
  libhamlib-dev libhamlib++-dev libhamlib-utils python3-libhamlib2 libportaudio2 \
  libhamlib-dev libhamlib++-dev libhamlib-utils python-libhamlib2 libportaudio2 \
 
fluid flphoto samplerate-programs sndfile-programs \
 
kernel-package libncurses5-dev fakeroot wget bzip2 g++ libssl-dev libxml2-dev \
 
libsamplerate0 libsamplerate0-dev libsndfile1 libsndfile1-dev libpng12-dev libjpeg62-dev \
 
libportaudiocpp0 libpulse-dev libxmlrpc-c3-dev portaudio19-dev asciidoc pavumeter \
 
libfltk1.3 libfltk1.3-dev libfltk1.3-dbg libfltk1.3-compat-headers python-fltk
 
 
 
untuk Ubuntu 14.04
 
 
 
apt-get install libhamlib2 libhamlib2++c2 libhamlib2-perl libhamlib2-tcl \
 
  libhamlib-dev libhamlib++-dev libhamlib-utils python-libhamlib2 libportaudio2 \
 
 
  fluid samplerate-programs sndfile-programs \
 
  fluid samplerate-programs sndfile-programs \
 
  kernel-package libncurses5-dev fakeroot wget bzip2 g++ libssl-dev libxml2-dev \
 
  kernel-package libncurses5-dev fakeroot wget bzip2 g++ libssl-dev libxml2-dev \
Line 72: Line 42:
 
  libportaudiocpp0 libpulse-dev portaudio19-dev asciidoc pavumeter \
 
  libportaudiocpp0 libpulse-dev portaudio19-dev asciidoc pavumeter \
 
  libfltk1.3 libfltk1.3-dev libfltk1.3-dbg libfltk1.3-compat-headers python-fltk
 
  libfltk1.3 libfltk1.3-dev libfltk1.3-dbg libfltk1.3-compat-headers python-fltk
 
==Compile fldigi==
 
 
Ambil fldigi, flarq dan warp dari
 
 
http://www.w1hkj.com/download.html
 
http://www.w1hkj.com/alpha/
 
http://developer.berlios.de/projects/fldigi/
 
http://hermes.esrac.ele.tue.nl/pskmail/alpha/
 
http://hermes.esrac.ele.tue.nl/pskmail/alpha/fldigi-3.13AZ.tar.gz
 
 
File yang akan kita compile adalah,
 
 
fldigi-3.22.01.tar.gz
 
  
 
==Download Source Code==
 
==Download Source Code==
  
  cd ~/Downloads/
+
sudo su
  wget http://www.w1hkj.com/downloads/fldigi/fldigi-3.22.01.tar.gz
+
  cd /usr/local/src
wget http://www.w1hkj.com/downloads/flmsg/flmsg-2.0.5.tar.gz
+
  wget http://www.w1hkj.com/files/fldigi/fldigi-4.1.20.tar.gz
wget http://www.w1hkj.com/downloads/flwrap/flwrap-1.3.4.tar.gz
 
wget http://www.w1hkj.com/downloads/flamp/flamp-2.1.02.tar.gz
 
  
 
Copykan [[source code]] fldigi & warp ke folder /usr/local/src
 
Copykan [[source code]] fldigi & warp ke folder /usr/local/src
  
===Untuk versi 3.22.01===
+
==Compile fldigi==
 
 
$ sudo su -
 
  
  cp fldigi-3.22.01.tar.gz /usr/local/src/
+
  sudo su
 
  cd /usr/local/src
 
  cd /usr/local/src
  tar zxvf fldigi-3.22.01.tar.gz
+
wget http://www.w1hkj.com/files/fldigi/fldigi-4.1.20.tar.gz
  cd /usr/local/src/fldigi-3.22.01
+
  tar zxvf fldigi-4.1.20.tar.gz  
 +
  cd /usr/local/src/fldigi-4.1.20
 
  ./configure
 
  ./configure
 
  make clean
 
  make clean
Line 112: Line 65:
 
==Compile flmsg==
 
==Compile flmsg==
  
  cp flmsg-2.0.5.tar.gz /usr/local/src/
+
  cp flmsg-2.0.12.tar.gz /usr/local/src/
 
  cd /usr/local/src
 
  cd /usr/local/src
  tar zxvf flmsg-2.0.5.tar.gz
+
  tar zxvf flmsg-2.0.12.tar.gz
  cd /usr/local/src/flmsg-2.0.5
+
  cd /usr/local/src/flmsg-2.0.12
 
  ./configure
 
  ./configure
 
  make clean
 
  make clean
Line 131: Line 84:
 
  make all
 
  make all
 
  make install
 
  make install
 +
 +
==Compile flamp==
 +
 +
cp flamp-2.2.03.tar.gz /usr/local/src/
 +
cd /usr/local/src
 +
tar zxvf flamp-2.2.03.tar.gz
 +
cd /usr/local/src/flamp-2.2.03
 +
./configure
 +
make clean
 +
make all
 +
make install
 +
 +
  
 
==Menjalankan fldigi==
 
==Menjalankan fldigi==

Latest revision as of 18:50, 19 November 2021

Referensi: http://www.w1hkj.com/beginners.html#Install


Remove fldigi & flmsg yang pernah di instalasi menggunakan apt-get

Jika anda pernah menginstalasi menggunakan apt-get install, dapat meremove-nya menggunakan perintah

sudo apt-get purge fldigi flmsg


Siapkan Dependencies

Siapkan dependencies yang dibutuhkan untuk mengcompile Fldigi

$ sudo su -

Untuk Ubuntu 20.04.1

apt -y install python3-libhamlib2 lihamlib2 libhamlib-dev libhamlib2-perl libhamlib2-tcl \
libhamlib2++c2 libhamlib++-dev libhamlib-utils libportaudio2 \
libfltk1.3 libfltk1.3-dev fluid samplerate-programs sndfile-programs \
kernel-package libncurses5-dev fakeroot wget bzip2 g++ libssl-dev libxml2-dev \
libsamplerate0 libsamplerate0-dev libsndfile1 libsndfile1-dev libpng-dev libjpeg62-dev \
libportaudiocpp0 libpulse-dev portaudio19-dev

optional untuk tambahan

apt install -y asciidoc pavumeter padevchooser

ATAU kalau mau sekaligus dapat menjadi (untuk Ubuntu 20.04.1)

apt install -y aptitude
aptitude install libhamlib2 libhamlib2++c2 libhamlib2-perl libhamlib2-tcl \
libhamlib-dev libhamlib++-dev libhamlib-utils python3-libhamlib2 libportaudio2 \
fluid samplerate-programs sndfile-programs \
kernel-package libncurses5-dev fakeroot wget bzip2 g++ libssl-dev libxml2-dev \
libsamplerate0 libsamplerate0-dev libsndfile1 libsndfile1-dev libpng12-dev libjpeg62-dev \
libportaudiocpp0 libpulse-dev portaudio19-dev asciidoc pavumeter \
libfltk1.3 libfltk1.3-dev libfltk1.3-dbg libfltk1.3-compat-headers python-fltk

Download Source Code

sudo su
cd /usr/local/src
wget http://www.w1hkj.com/files/fldigi/fldigi-4.1.20.tar.gz

Copykan source code fldigi & warp ke folder /usr/local/src

Compile fldigi

sudo su
cd /usr/local/src
wget http://www.w1hkj.com/files/fldigi/fldigi-4.1.20.tar.gz
tar zxvf fldigi-4.1.20.tar.gz 
cd /usr/local/src/fldigi-4.1.20
./configure
make clean
make all
make install

Compile flmsg

cp flmsg-2.0.12.tar.gz /usr/local/src/
cd /usr/local/src
tar zxvf flmsg-2.0.12.tar.gz
cd /usr/local/src/flmsg-2.0.12
./configure
make clean
make all
make install

Compile flwrap

cp flwrap-1.3.4.tar.gz /usr/local/src/
cd /usr/local/src
tar zxvf flwrap-1.3.4.tar.gz
cd /usr/local/src/flwrap-1.3.4
./configure
make clean
make all
make install

Compile flamp

cp flamp-2.2.03.tar.gz /usr/local/src/
cd /usr/local/src
tar zxvf flamp-2.2.03.tar.gz
cd /usr/local/src/flamp-2.2.03
./configure
make clean
make all
make install


Menjalankan fldigi

Menjalankan fldigi cukup melalui perintah

sudo su
cd /usr/local/bin/
fldigi &
flarq &
flmsg &

Kita perlu menjalankan 'sudo su' karena fldigi butuh 'su' untuk mengakses /dev/ttyUSB0

Pranala Menarik