Memasang font “Times New Roman (dkk)” untuk digunakan di LibreOffice

Bagi pengguna templat LibreOffice Writer yang telah kami upload di sini (https://extensions.libreoffice.org/templates/template-for-indonesian-social-research-reports) untuk templat laporan penelitian, panduan penggunaannya telah saya tulis pada komentar di sini (https://matematiku.wordpress.com/2019/02/17/e-book-kitab-gnu-linux-untuk-pemula/#comment-584).

Font yang digunakan pada templat tersebut utamanya menggunakan Liberation Serif, Caladea dan Gentium, yang semuanya (dan khususnya yang ada di paket fonts-liberation) sudah kompatibel dengan font-font yang umumnya digunakan di laporan-laporan penelitian di Indonesia. Adapun laporan-laporan penelitian di Indonesia umumnya menggunakan font-font dari “Microsoft TrueType”, seperti Times New Roman (Bold, Italic, Bold Italic) dan Arial (Black, Bold, Italic, Bold Italic).

Paket fonts-liberation yang default ada di LibreOffice sebenarnya sudah memiliki varian huruf yang kompatibel untuk Times, Arial dan Courier. Tapi jika karena alasan tertentu pengguna ingin menggunakan font-font dari “Microsoft TrueType” secara khusus (bukan sebagai varian), maka perlu menginstal paket lain.

Jika ingin menggunakan font-font “Times New Roman”, “Arial” dkk secara khusus pada templat tersebut, yang diperlukan adalah menginstal paket contrib “Microsoft TrueType” fonts. Di Debian paket contrib ini bernama ttf-mscorefonts-installer (misalnya di sini : https://packages.debian.org/stretch/ttf-mscorefonts-installer). Font-font yang ada pada paket tersebut termasuk : Andale Mono, Arial Black, Arial (Bold, Italic, Bold Italic), Comic Sans MS (Bold), Courier New (Bold, Italic, Bold Italic), Georgia (Bold, Italic, Bold Italic), Impact, Times New Roman (Bold, Italic, Bold Italic), Trebuchet (Bold, Italic, Bold Italic), Verdana (Bold, Italic, Bold Italic) dan Webdings.

Instal paket tersebut :

$ sudo apt-get install ttf-mscorefonts-installer

Jika karena kejadian tertentu terjadi kesalahan selama proses instalasi lihat catatan di bawah tentang cara menanganinya.

Jika proses instalasi berhasil, berikut ouputnya di terminal saya :

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  ttf-mscorefonts-installer
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/37,4 kB of archives.
After this operation, 128 kB of additional disk space will be used.
Prakonfigurasi paket ... 
Selecting previously unselected package ttf-mscorefonts-installer.
(Sedang membaca basis data ...  253663 berkas atau direktori telah terpasang.)
Preparing to unpack .../ttf-mscorefonts-installer_3.6_all.deb ...
Unpacking ttf-mscorefonts-installer (3.6) ...
Sedang menata ttf-mscorefonts-installer (3.6) ... 

These fonts were provided by Microsoft "in the interest of cross-
platform compatibility".  This is no longer the case, but they are
still available from third parties.

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.

--2019-05-03 14:33:17--  http://downloads.sourceforge.net/corefonts/andale32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Menghubungi downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 301 Moved Permanently
Lokasi: http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/andale32.exe [mengikuti]
--2019-05-03 14:33:17--  http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/andale32.exe
Menggunakan koneksi yang sudah ada ke downloads.sourceforge.net:80.
Permintaan HTTP dikirimkan, menunggu balasan... 302 Found
Lokasi: https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/andale32.exe [mengikuti]
--2019-05-03 14:33:18--  https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/andale32.exe
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Menghubungi nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 200 OK
Besar: 198384 (194K) [application/octet-stream]
Simpan ke: `./andale32.exe'

     0K .......... .......... .......... .......... .......... 25% 51,4K 3s
    50K .......... .......... .......... .......... .......... 51% 26,4K 3s
   100K .......... .......... .......... .......... .......... 77% 84,4K 1s
   150K .......... .......... .......... .......... ...       100% 88,4K=4,0s

2019-05-03 14:33:23 (49,0 KB/s) - `./andale32.exe' disimpan [198384/198384]

--2019-05-03 14:33:23--  http://downloads.sourceforge.net/corefonts/arialb32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Menghubungi downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 301 Moved Permanently
Lokasi: http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/arialb32.exe [mengikuti]
--2019-05-03 14:33:23--  http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/arialb32.exe
Menggunakan koneksi yang sudah ada ke downloads.sourceforge.net:80.
Permintaan HTTP dikirimkan, menunggu balasan... 302 Found
Lokasi: https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/arialb32.exe [mengikuti]
--2019-05-03 14:33:26--  https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/arialb32.exe
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Menghubungi nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 200 OK
Besar: 168176 (164K) [application/octet-stream]
Simpan ke: `./arialb32.exe'

     0K .......... .......... .......... .......... .......... 30% 55,2K 2s
    50K .......... .......... .......... .......... .......... 60% 37,0K 1s
   100K .......... .......... .......... .......... .......... 91%  112K 0s
   150K .......... ....                                       100% 30,6M=2,7s

2019-05-03 14:33:30 (60,8 KB/s) - `./arialb32.exe' disimpan [168176/168176]

--2019-05-03 14:33:30--  http://downloads.sourceforge.net/corefonts/arial32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Menghubungi downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 301 Moved Permanently
Lokasi: http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/arial32.exe [mengikuti]
--2019-05-03 14:33:30--  http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/arial32.exe
Menggunakan koneksi yang sudah ada ke downloads.sourceforge.net:80.
Permintaan HTTP dikirimkan, menunggu balasan... 302 Found
Lokasi: https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/arial32.exe [mengikuti]
--2019-05-03 14:33:31--  https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/arial32.exe
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Menghubungi nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 200 OK
Besar: 554208 (541K) [application/octet-stream]
Simpan ke: `./arial32.exe'

     0K .......... .......... .......... .......... ..........  9% 35,5K 14s
    50K .......... .......... .......... .......... .......... 18% 54,2K 10s
   100K .......... .......... .......... .......... .......... 27% 88,2K 8s
   150K .......... .......... .......... .......... .......... 36% 98,4K 6s
   200K .......... .......... .......... .......... .......... 46%  126K 4s
   250K .......... .......... .......... .......... .......... 55%  193K 3s
   300K .......... .......... .......... .......... .......... 64%  186K 2s
   350K .......... .......... .......... .......... .......... 73%  189K 2s
   400K .......... .......... .......... .......... .......... 83%  175K 1s
   450K .......... .......... .......... .......... .......... 92%  289K 0s
   500K .......... .......... .......... .......... .         100%  408K=5,2s

2019-05-03 14:33:38 (105 KB/s) - `./arial32.exe' disimpan [554208/554208]

--2019-05-03 14:33:38--  http://downloads.sourceforge.net/corefonts/comic32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Menghubungi downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 301 Moved Permanently
Lokasi: http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/comic32.exe [mengikuti]
--2019-05-03 14:33:38--  http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/comic32.exe
Menggunakan koneksi yang sudah ada ke downloads.sourceforge.net:80.
Permintaan HTTP dikirimkan, menunggu balasan... 302 Found
Lokasi: https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/comic32.exe [mengikuti]
--2019-05-03 14:33:39--  https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/comic32.exe
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Menghubungi nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 200 OK
Besar: 246008 (240K) [application/octet-stream]
Simpan ke: `./comic32.exe'

     0K .......... .......... .......... .......... .......... 20% 43,5K 4s
    50K .......... .......... .......... .......... .......... 41% 34,7K 4s
   100K .......... .......... .......... .......... .......... 62% 58,4K 2s
   150K .......... .......... .......... .......... .......... 83% 62,0K 1s
   200K .......... .......... .......... ..........           100%  145K=4,5s

2019-05-03 14:33:46 (53,0 KB/s) - `./comic32.exe' disimpan [246008/246008]

--2019-05-03 14:33:46--  http://downloads.sourceforge.net/corefonts/courie32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Menghubungi downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 301 Moved Permanently
Lokasi: http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/courie32.exe [mengikuti]
--2019-05-03 14:33:47--  http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/courie32.exe
Menggunakan koneksi yang sudah ada ke downloads.sourceforge.net:80.
Permintaan HTTP dikirimkan, menunggu balasan... 302 Found
Lokasi: https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/courie32.exe [mengikuti]
--2019-05-03 14:33:47--  https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/courie32.exe
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Menghubungi nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 200 OK
Besar: 646368 (631K) [application/octet-stream]
Simpan ke: `./courie32.exe'

     0K .......... .......... .......... .......... ..........  7% 45,9K 13s
    50K .......... .......... .......... .......... .......... 15% 62,7K 10s
   100K .......... .......... .......... .......... .......... 23% 62,8K 9s
   150K .......... .......... .......... .......... .......... 31% 87,8K 7s
   200K .......... .......... .......... .......... .......... 39%  189K 5s
   250K .......... .......... .......... .......... .......... 47% 95,5K 4s
   300K .......... .......... .......... .......... .......... 55%  186K 3s
   350K .......... .......... .......... .......... .......... 63%  194K 3s
   400K .......... .......... .......... .......... .......... 71%  177K 2s
   450K .......... .......... .......... .......... .......... 79% 1,22M 1s
   500K .......... .......... .......... .......... .......... 87%  185K 1s
   550K .......... .......... .......... .......... .......... 95%  205K 0s
   600K .......... .......... .......... .                    100% 2,29M=5,4s

2019-05-03 14:33:53 (117 KB/s) - `./courie32.exe' disimpan [646368/646368]

--2019-05-03 14:33:53--  http://downloads.sourceforge.net/corefonts/georgi32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Menghubungi downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 301 Moved Permanently
Lokasi: http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/georgi32.exe [mengikuti]
--2019-05-03 14:33:58--  http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/georgi32.exe
Menggunakan koneksi yang sudah ada ke downloads.sourceforge.net:80.
Permintaan HTTP dikirimkan, menunggu balasan... 302 Found
Lokasi: https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/georgi32.exe [mengikuti]
--2019-05-03 14:33:58--  https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/georgi32.exe
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Menghubungi nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 200 OK
Besar: 392440 (383K) [application/octet-stream]
Simpan ke: `./georgi32.exe'

     0K .......... .......... .......... .......... .......... 13% 42,8K 8s
    50K .......... .......... .......... .......... .......... 26% 58,5K 6s
   100K .......... .......... .......... .......... .......... 39% 43,2K 5s
   150K .......... .......... .......... .......... .......... 52% 53,9K 4s
   200K .......... .......... .......... .......... .......... 65% 55,5K 3s
   250K .......... .......... .......... .......... .......... 78% 43,6K 2s
   300K .......... .......... .......... .......... .......... 91% 41,7K 1s
   350K .......... .......... .......... ...                  100%  124K=7,6s

2019-05-03 14:34:07 (50,3 KB/s) - `./georgi32.exe' disimpan [392440/392440]

--2019-05-03 14:34:07--  http://downloads.sourceforge.net/corefonts/impact32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Menghubungi downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 301 Moved Permanently
Lokasi: http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/impact32.exe [mengikuti]
--2019-05-03 14:34:08--  http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/impact32.exe
Menggunakan koneksi yang sudah ada ke downloads.sourceforge.net:80.
Permintaan HTTP dikirimkan, menunggu balasan... 302 Found
Lokasi: https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/impact32.exe [mengikuti]
--2019-05-03 14:34:09--  https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/impact32.exe
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Menghubungi nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 200 OK
Besar: 173288 (169K) [application/octet-stream]
Simpan ke: `./impact32.exe'

     0K .......... .......... .......... .......... .......... 29% 43,7K 3s
    50K .......... .......... .......... .......... .......... 59% 55,0K 1s
   100K .......... .......... .......... .......... .......... 88% 79,5K 0s
   150K .......... .........                                  100% 83,4K=2,9s

2019-05-03 14:34:13 (58,1 KB/s) - `./impact32.exe' disimpan [173288/173288]

--2019-05-03 14:34:13--  http://downloads.sourceforge.net/corefonts/times32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Menghubungi downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 301 Moved Permanently
Lokasi: http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/times32.exe [mengikuti]
--2019-05-03 14:34:13--  http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/times32.exe
Menggunakan koneksi yang sudah ada ke downloads.sourceforge.net:80.
Permintaan HTTP dikirimkan, menunggu balasan... 302 Found
Lokasi: https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/times32.exe [mengikuti]
--2019-05-03 14:34:14--  https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/times32.exe
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Menghubungi nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 200 OK
Besar: 661728 (646K) [application/octet-stream]
Simpan ke: `./times32.exe'

     0K .......... .......... .......... .......... ..........  7% 46,8K 13s
    50K .......... .......... .......... .......... .......... 15% 60,7K 10s
   100K .......... .......... .......... .......... .......... 23% 62,3K 9s
   150K .......... .......... .......... .......... .......... 30% 89,6K 7s
   200K .......... .......... .......... .......... .......... 38% 93,3K 6s
   250K .......... .......... .......... .......... .......... 46% 91,4K 5s
   300K .......... .......... .......... .......... .......... 54% 99,3K 4s
   350K .......... .......... .......... .......... .......... 61%  101K 3s
   400K .......... .......... .......... .......... .......... 69% 94,0K 3s
   450K .......... .......... .......... .......... .......... 77%  103K 2s
   500K .......... .......... .......... .......... .......... 85%  102K 1s
   550K .......... .......... .......... .......... .......... 92%  175K 1s
   600K .......... .......... .......... .......... ......    100% 89,5K=7,6s

2019-05-03 14:34:23 (84,6 KB/s) - `./times32.exe' disimpan [661728/661728]

--2019-05-03 14:34:23--  http://downloads.sourceforge.net/corefonts/trebuc32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Menghubungi downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 301 Moved Permanently
Lokasi: http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/trebuc32.exe [mengikuti]
--2019-05-03 14:34:23--  http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/trebuc32.exe
Menggunakan koneksi yang sudah ada ke downloads.sourceforge.net:80.
Permintaan HTTP dikirimkan, menunggu balasan... 302 Found
Lokasi: https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/trebuc32.exe [mengikuti]
--2019-05-03 14:34:24--  https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/trebuc32.exe
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Menghubungi nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 200 OK
Besar: 357200 (349K) [application/octet-stream]
Simpan ke: `./trebuc32.exe'

     0K .......... .......... .......... .......... .......... 14% 26,3K 11s
    50K .......... .......... .......... .......... .......... 28% 61,4K 7s
   100K .......... .......... .......... .......... .......... 43% 93,0K 4s
   150K .......... .......... .......... .......... .......... 57% 85,9K 3s
   200K .......... .......... .......... .......... .......... 71% 95,6K 2s
   250K .......... .......... .......... .......... .......... 86%  161K 1s
   300K .......... .......... .......... .......... ........  100%  169K=5,0s

2019-05-03 14:34:31 (70,4 KB/s) - `./trebuc32.exe' disimpan [357200/357200]

--2019-05-03 14:34:31--  http://downloads.sourceforge.net/corefonts/verdan32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Menghubungi downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 301 Moved Permanently
Lokasi: http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/verdan32.exe [mengikuti]
--2019-05-03 14:34:32--  http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/verdan32.exe
Menggunakan koneksi yang sudah ada ke downloads.sourceforge.net:80.
Permintaan HTTP dikirimkan, menunggu balasan... 302 Found
Lokasi: https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/verdan32.exe [mengikuti]
--2019-05-03 14:34:33--  https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/verdan32.exe
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Menghubungi nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 200 OK
Besar: 351992 (344K) [application/octet-stream]
Simpan ke: `./verdan32.exe'

     0K .......... .......... .......... .......... .......... 14% 49,4K 6s
    50K .......... .......... .......... .......... .......... 29% 72,1K 4s
   100K .......... .......... .......... .......... .......... 43% 76,4K 3s
   150K .......... .......... .......... .......... .......... 58%  107K 2s
   200K .......... .......... .......... .......... .......... 72%  113K 1s
   250K .......... .......... .......... .......... .......... 87%  183K 1s
   300K .......... .......... .......... .......... ...       100%  172K=3,8s

2019-05-03 14:34:38 (90,4 KB/s) - `./verdan32.exe' disimpan [351992/351992]

--2019-05-03 14:34:38--  http://downloads.sourceforge.net/corefonts/webdin32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Menghubungi downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 301 Moved Permanently
Lokasi: http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/webdin32.exe [mengikuti]
--2019-05-03 14:34:38--  http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/webdin32.exe
Menggunakan koneksi yang sudah ada ke downloads.sourceforge.net:80.
Permintaan HTTP dikirimkan, menunggu balasan... 302 Found
Lokasi: https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/webdin32.exe [mengikuti]
--2019-05-03 14:34:39--  https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/webdin32.exe
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Menghubungi nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... terhubung.
Permintaan HTTP dikirimkan, menunggu balasan... 200 OK
Besar: 185072 (181K) [application/octet-stream]
Simpan ke: `./webdin32.exe'

     0K .......... .......... .......... .......... .......... 27% 50,5K 3s
    50K .......... .......... .......... .......... .......... 55% 76,6K 1s
   100K .......... .......... .......... .......... .......... 82% 80,1K 0s
   150K .......... .......... ..........                      100%  146K=2,5s

2019-05-03 14:34:42 (73,0 KB/s) - `./webdin32.exe' disimpan [185072/185072]

andale32.exe: OK
Extracting cabinet: andale32.exe
  extracting fontinst.inf
  extracting andale.inf
  extracting fontinst.exe
  extracting AndaleMo.TTF
  extracting ADVPACK.DLL
  extracting W95INF32.DLL
  extracting W95INF16.DLL

All done, no errors.
arialb32.exe: OK
Extracting cabinet: arialb32.exe
  extracting fontinst.exe
  extracting fontinst.inf
  extracting AriBlk.TTF

All done, no errors.
arial32.exe: OK
Extracting cabinet: arial32.exe
  extracting FONTINST.EXE
  extracting fontinst.inf
  extracting Ariali.TTF
  extracting Arialbd.TTF
  extracting Arialbi.TTF
  extracting Arial.TTF

All done, no errors.
comic32.exe: OK
Extracting cabinet: comic32.exe
  extracting fontinst.inf
  extracting Comicbd.TTF
  extracting Comic.TTF
  extracting fontinst.exe

All done, no errors.
courie32.exe: OK
Extracting cabinet: courie32.exe
  extracting cour.ttf
  extracting courbd.ttf
  extracting courbi.ttf
  extracting fontinst.inf
  extracting couri.ttf
  extracting fontinst.exe

All done, no errors.
georgi32.exe: OK
Extracting cabinet: georgi32.exe
  extracting fontinst.inf
  extracting Georgiaz.TTF
  extracting Georgiab.TTF
  extracting Georgiai.TTF
  extracting Georgia.TTF
  extracting fontinst.exe

All done, no errors.
impact32.exe: OK
Extracting cabinet: impact32.exe
  extracting fontinst.exe
  extracting Impact.TTF
  extracting fontinst.inf

All done, no errors.
times32.exe: OK
Extracting cabinet: times32.exe
  extracting fontinst.inf
  extracting Times.TTF
  extracting Timesbd.TTF
  extracting Timesbi.TTF
  extracting Timesi.TTF
  extracting FONTINST.EXE

All done, no errors.
trebuc32.exe: OK
Extracting cabinet: trebuc32.exe
  extracting FONTINST.EXE
  extracting trebuc.ttf
  extracting Trebucbd.ttf
  extracting trebucbi.ttf
  extracting trebucit.ttf
  extracting fontinst.inf

All done, no errors.
verdan32.exe: OK
Extracting cabinet: verdan32.exe
  extracting fontinst.exe
  extracting fontinst.inf
  extracting Verdanab.TTF
  extracting Verdanai.TTF
  extracting Verdanaz.TTF
  extracting Verdana.TTF

All done, no errors.
webdin32.exe: OK
Extracting cabinet: webdin32.exe
  extracting fontinst.exe
  extracting Webdings.TTF
  extracting fontinst.inf
  extracting Licen.TXT

All done, no errors.
Processing triggers for fontconfig (2.11.0-6.7+b1) ...

Catatan:

Jika terjadi kesalahan selama instalasi pada salah satu paket font di atas (misalnya times32.exe gagal terinstal), maka di akhir pesan di terminal muncul peringatan:

The following fonts failed to install :  times32.exe.
The fonts are NOT installed.
Please run 'dpkg-reconfigure ttf-mscorefonts-installer' to perform the installation again

Maka lakukan penanganan dengan langkah-langkah berikut:

Pertama, buat direktori /tmp untuk paket font yang diinstal tadi:

$ mkdir /tmp/ttf-mscorefonts
$ cd /tmp/ttf-mscorefonts

Lalu unduh paket font yang gagal diinstal:

$ wget http://downloads.sourceforge.net/corefonts/{nama-font-ttfms}.exe

dengan nama-font-ttfms : times32.exe, arial32.exe, arialb32.exe, georgi32.exe, trebuc32.exe, courie32.exe, verdan32.exe, andale32.exe, comic32.exe, impact32.exe, atau webdin32.exe.

Lalu purge:

$ sudo apt-get purge ttf-mscorefonts-installer

reinstal :

$ sudo apt-get install ttf-mscorefonts-installer

dan :

$ sudo dpkg-reconfigure ttf-mscorefonts-installer

Selanjutnya akan muncul pesan seperti ini:

dpkg reconfigure ttf-mscorefonts-installer

masukan path /tmp/ttf-mscorefonts pada kotak isian di atas.

lalu tekan enter.

Jika telah berhasil semuanya terinstal, buka LibreOffice Writer dan pada daftar “Font Name” akan muncul nama-nama font yang telah diinstal barusan.

Times New Roman on LibreOffice

Membangun dan Memasang GCC Versi 8.3 di Debian

Dikarenakan GCC yang terpasang di sistem saya sebelumnya belum mendukung kompiler C++17 (yang secara opsional mendukung proses kompilasi dan instalasi Hyang 1.3.0), saya telah mencoba memutahirkan GCC ke versi yang lebih baru (ini setidaknya versi 7.4 ke atas). Kali ini saya akan mencoba membagikan pengalaman saya dalam proses membangun dan menginstal GCC versi 8.3.

Informasi dari sistem yang saya gunakan adalah sebagai berikut :

$ uname -a

System Informations : uname -a

Anda bisa menggunakan SVN untuk mengakses hasil pengembangan terkini dari kode sumber GCC di :

https://gcc.gnu.org/svn.html

Anda juga bisa mendapatkan GCC versi terbaru dengan mengunjungi beberapa mirror GCC di :

https://gcc.gnu.org/mirrors.html

Jika anda ingin mencoba pengalaman baru dengan mengunduhnya dari salah satu mirror, Anda bisa coba netgull.com. Kebetulan karena layanan mirror netgull.com sering saya kunjungi, saya gunakan mirror GCC dari netgull.com (terima kasih kepada admin di netgull.com).

GCC sejak 2017 memiliki snapshot reguler mingguan yang saat ini menggunakan kompresi berkas arsip .tar.xz. Kali ini saya akan mencoba membangun dan menginstal snapshot GCC versi 8.3 dari berkas arsip snapshot .tar.xz yang disediakan di mirror netgull.com :

http://www.netgull.com/gcc/snapshots/LATEST-8/

Unduh berkas gcc-8-20190412.tar.xz dan sha512.sum :

$ wget http://www.netgull.com/gcc/snapshots/LATEST-8/gcc-8-20190412.tar.xz
$ wget http://www.netgull.com/gcc/snapshots/LATEST-8/sha512.sum

GCC 8.3 Checksum

$ tar xvf gcc-8-20190412.tar.xz
$ cd gcc-8-20190412

Sebelum menjalankan ./configure saya perlu memasang dulu beberapa paket pendukung atau prasyarat untuk bisa membangun GCC (seperti GMP 4.2+, MPFR 2.4.0+ dan MPC 0.8.0+). Pada direktori gcc di atas, jalankan perintah:

$ ./contrib/download_prerequisites

Perintah ./contrib/download_prerequisites di atas tidak secara otomatis memasang semua paket yang diperlukan untuk rilis gcc terbaru (lihat pada catatan di bawah). Jika karena alasan tertentu, flex (misalnya, untuk pembangun analisis leksikal di GCC) belum terpasang pada proses di atas, maka flex juga perlu dipasang secara terpisah :

$ sudo apt-get install flex

Setelah itu, GMP, MPFR, MPC dan flex akan siap digunakan pada ./configure. Pada tahap awal setelah ia diisukan, akan muncul pesan kesalahan seperti berikut :

/usr/bin/ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
configure: error: I suspect your system does not have 32-bit development 
libraries (libc and headers). If you have them, rerun configure with 
--enable-multilib. If you do not have them, and want to build a 64-bit-only 
compiler, rerun configure with --disable-multilib.

Saya perlu memasang gcc-multilib untuk dukungan 32-bit (meskipun sistem yang saya gunakan 64-bit) :

$ sudo apt-get install gcc-multilib

saya jalankan lagi perintah ./configure seperti di atas, dan hasilnya seperti ini:

$ ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for libatomic support... yes
checking for libitm support... yes
checking for libsanitizer support... yes
checking for libvtv support... yes
checking for libmpx support... yes
checking for libhsail-rt support... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
configure: WARNING: using in-tree isl, disabling version check
The following languages will be built: c,c++,fortran,lto,objc
*** This configuration is not supported in the following subdirectories:
     gnattools gotools target-libada target-libhsail-rt target-libgo target-libffi target-liboffloadmic
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... bootstrap-debug
checking for --enable-vtable-verify... no
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for readelf... readelf
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gfortran... gfortran
checking for gccgo... no
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objcopy... no
checking for objcopy... objcopy
checking for objdump... no
checking for objdump... objdump
checking for ranlib... no
checking for ranlib... ranlib
checking for readelf... no
checking for readelf... readelf
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gfortran... just compiled
checking where to find the target gccgo... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objcopy... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target readelf... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile

Lalu saya jalankan perintah make.

Proses kompilasi GCC memakan waktu yang lama (pengalaman saya di atas 1 jam). Anda bisa mengerjakan hal-hal lainnya sambil menunggu proses kompilasi selesai.

Catatan : Jika karena alasan tadi (ada beberapa paket pra-syarat yang belum terpasang), perintah make akan memunculkan pesan kesalahan fatal. Misalnya dalam kasus flex yang belum terpasang, muncul pesan kesalahan seperti berikut :

g++: error: gengtype-lex.c: Tidak ada berkas atau direktori seperti itu
g++: fatal error: no input files
compilation terminated.
Makefile:2670: recipe for target 'build/gengtype-lex.o' failed
make[3]: *** [build/gengtype-lex.o] Error 1
make[3]: Meninggalkan direktori '/home/alisabana/build-dir/gcc/gcc-8-20190412/host-x86_64-pc-linux-gnu/gcc'
Makefile:4625: recipe for target 'all-stage1-gcc' failed
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Meninggalkan direktori '/home/alisabana/build-dir/gcc/gcc-8-20190412'
Makefile:27880: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Meninggalkan direktori '/home/alisabana/build-dir/gcc/gcc-8-20190412'
Makefile:952: recipe for target 'all' failed
make: *** [all] Error 2

Itu berarti program flex tadi belum terpasang di sistem. Anda juga perlu memeriksa kembali kelengkapan paket-paket pendukung lain sebagai pra-syarat untuk membangun dan menginstal GCC di manual GCC (misalnya di https://gcc.gnu.org/install/prerequisites.html).

Setelah proses kompilasi selesai, muncul keterangan berikut di akhir proses:

true DO=all multi-do # make

dan keterangan-keterangan lainnya yang menunjukkan proses kompilasi telah berhasil dilakukan. Setelah itu saya jalankan perintah:

$ sudo make install

Setelah proses instalasi selesai, saya bisa cek versi gcc yang telah terpasang barusan :

GCC Version Check

Sekarang GCC versi 8.3 telah siap digunakan.

Referensi :

Alisabana, H. P. (2019). Kitab GNU/LINUX untuk Pemula: Panduan Praktik Dasar untuk Membangun Program Aplikasi Menggunakan GCC (GNU Compiler Collection). Hyang Language Foundation, Jakarta.

Stallman, R. M, et. al. (2018). Using the GNU Compiler Collection (GCC), Version 8.3. Free Software Foundation, MA.

E-Book : Kitab GNU/Linux untuk Pemula

E-Book, KITAB GNU/LINUX UNTUK PEMULA : Panduan Praktik Dasar untuk Membangun Program Aplikasi Menggunakan GCC (GNU Compiler Collection)

Link : https://owlgalunggung.org/developers/hilmanpalisabana/kitab-gnu-linux-panduan-gcc-pemula-alisabana.pdf

 

Tentang buku ini :

Buku ini berisi panduan praktik dasar yang secara umum dilakukan dalam membangun aplikasi di sistem GNU/Linux. Sebuah aplikasi di mesin GNU/Linux adalah sebuah berkas biner yang bisa dieksekusi dan bisa dipanggil langsung melalui direktori kerja mana pun di terminal Linux. Untuk membangun aplikasi terrsebut, GNU menyediakan seperangkat utilitas dan standar tertentu agar apliaksi tersebut bisa dipasang dengan baik dan valid.

Secara khusus, buku ini mendaftar dan membahas berbagai utilitas GNU dan utilitas baris perintah penunjang dasar lainnya, serta contoh-contoh praktis penggunaanya yang telah kami terapkan dalam membangun aplikasi editor kode owlgalunggung. Tetapi buku ini lebih fokus membahas ke ke utilitas dasar di sistem membangun GNU (GNU Build System) dan GCC (GNU Compiler Collection) yang digunakan untuk membangun aplikasi yang bisa dikerjakan semuanya melalui terminal atau baris perintah di Linux.

Buku ini disajikan sedemikian rupa sehingga bisa dipraktekan oleh pengguna Linux, bahkan oleh pengguna yang baru menggunakan Linux.

Buku ini disusun sebagai salah satu wujud pengabdian HLF dan penulis kepada masyarakat, khususnya kepada seluruh komunitas perangkat lunak sumber terbuka (open sources) di internet.