﻿{"id":11127,"date":"2021-12-05T07:39:44","date_gmt":"2021-12-04T23:39:44","guid":{"rendered":"https:\/\/www.linuxmi.com\/?p=11127"},"modified":"2021-12-04T09:52:04","modified_gmt":"2021-12-04T01:52:04","slug":"db-browser-for-sqlite-linux","status":"publish","type":"post","link":"https:\/\/www.linuxmi.com\/db-browser-for-sqlite-linux.html","title":{"rendered":"Linux \u4e0b\u5b89\u88c5\u53ef\u89c6\u5316\u6570\u636e\u5e93\u6d4f\u89c8\u5668 DB Browser for SQLite 3.37"},"content":{"rendered":"<p><strong>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u5411\u60a8\u5c55\u793a\u5982\u4f55\u5b89\u88c5\u548c\u4f7f\u7528 SQLite DB Browser \u6765\u52a0\u8f7d\u6570\u636e\u5e93\u6587\u4ef6\u3001\u6d4f\u89c8\u6570\u636e\u548c\u8fd0\u884c SQL \u67e5\u8be2\u3002<\/strong><\/p>\n<p>SQLite \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u3001\u81ea\u5305\u542b\u7684\u3001\u8f7b\u91cf\u7ea7\u7684\u65e0\u670d\u52a1\u5668\u5173\u7cfb\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u3002\u5b83\u662f\u4e00\u4e2a\u96f6\u914d\u7f6e\u7684\u6570\u636e\u5e93\uff0c\u8fd9\u610f\u5473\u7740\u60a8\u4e0d\u9700\u8981\u50cf\u5176\u4ed6\u6570\u636e\u5e93\u4e00\u6837\u5728\u7cfb\u7edf\u4e2d\u914d\u7f6e\u5b83\u3002<\/p>\n<p><strong>SQLite DB Browser \u662f\u4e00\u4e2a\u9ad8\u54c1\u8d28\uff0c\u5f00\u6e90\u53ef\u89c6\u5316\u5de5\u5177\uff0c\u7528\u4e8e\u521b\u5efa\u3001\u8bbe\u8ba1\u548c\u7f16\u8f91\u4e0e SQLite \u517c\u5bb9\u7684\u6570\u636e\u5e93\u6587\u4ef6\u3002<\/strong>\u8be5\u8f6f\u4ef6\u63d0\u4f9b\u63a7\u4ef6\u548c\u5411\u5bfc\uff0c\u9002\u7528\u4e8e\u5e0c\u671b\u521b\u5efa\u6570\u636e\u5e93\uff0c\u68c0\u7d22\u548c\u7f16\u8f91\u6570\u636e\u7684\u7528\u6237\u548c\u5f00\u53d1\u4eba\u5458\u3002\u5b83\u91c7\u7528\u4e86\u719f\u6089\u7684\u7535\u5b50\u8868\u683c\u4e00\u6837\u7684\u754c\u9762\uff0c\u4f60\u4e0d\u9700\u8981\u5b66\u4e60\u590d\u6742\u7684SQL\u547d\u4ee4\u3002\u5b83\u53ef\u4ee5\u5728 Windows\u3001Linux\u3001Mac \u548c FreeBSD \u4e0a\u8fd0\u884c\u3002<\/p>\n<p>SQLite DB Browser \u7528\u6237\u4f1a\u9047\u5230\u7684\u6700\u5e38\u89c1\u7684\u6570\u636e\u5e93\u6587\u4ef6\u662f\u6587\u4ef6\u6269\u5c55\u540d\u4e3a<code><strong>.db<\/strong><\/code>.<span id=\"ezoic-pub-ad-placeholder-193\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<h2 id=\"h-db-browser-for-sqlite-features\">DB Browser for SQLite \u529f\u80fd<\/h2>\n<p>DB Browser \u9002\u7528\u4e8e\u60f3\u8981\u521b\u5efa\u3001\u641c\u7d22\u548c\u7f16\u8f91 SQLite \u6570\u636e\u5e93\u7684\u7528\u6237\u548c\u5f00\u53d1\u4eba\u5458\u3002\u5b83\u7684\u4e3b\u8981\u7279\u70b9\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\u521b\u5efa\u548c\u538b\u7f29\u6570\u636e\u5e93\u6587\u4ef6\u3002<\/li>\n<li>\u521b\u5efa\u3001\u5b9a\u4e49\u3001\u4fee\u6539\u548c\u5220\u9664\u8868\u548c\u7d22\u5f15\u3002<\/li>\n<li>\u6d4f\u89c8\u3001\u7f16\u8f91\u3001\u6dfb\u52a0\u548c\u5220\u9664\u8bb0\u5f55\u3002<\/li>\n<li>\u641c\u7d22\u8bb0\u5f55\u3002<\/li>\n<li>\u4ece\/\u5230 CSV \u6587\u4ef6\u5bfc\u5165\u548c\u5bfc\u51fa\u8868\u3002<\/li>\n<li>\u4ece SQL \u8f6c\u50a8\u6587\u4ef6\u5bfc\u5165\u548c\u5bfc\u51fa\u6570\u636e\u5e93\u3002<\/li>\n<li>\u53d1\u51fa SQL \u67e5\u8be2\u5e76\u68c0\u67e5\u7ed3\u679c\u3002<\/li>\n<li>\u68c0\u67e5\u5e94\u7528\u7a0b\u5e8f\u53d1\u51fa\u7684\u6240\u6709 SQL \u547d\u4ee4\u7684\u65e5\u5fd7\u3002<\/li>\n<li>\u6839\u636e\u8868\u6216\u67e5\u8be2\u6570\u636e\u7ed8\u5236\u7b80\u5355\u56fe\u5f62\u3002<\/li>\n<\/ul>\n<h2>\u5728 Linux \u4e0a\u5b89\u88c5 SQLite DB Browser (SQLite \u6570\u636e\u5e93\u6d4f\u89c8\u5668)<\/h2>\n<h3>Ubuntu \/ Linux Mint<\/h3>\n<p>\u4e3a\u4e86\u5728Ubuntu\u00a0\u6216\u00a0Linux Mint\u4e0a\u5b89\u88c5SQLite DB Browser\u00a0\u00a0\uff0c\u6709\u4e00\u4e2a\u5305\u542b\u6700\u65b0\u7248\u672c\u7684 PPA\u3002\u8981\u5c06\u8fd9\u4e2a PPA \u6dfb\u52a0\u5230\u60a8\u7684\u7cfb\u7edf\u5e76\u4ece\u4e2d\u5b89\u88c5SQLite DB Browser\uff0c\u53ea\u9700\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ sudo add-apt-repository -y ppa:linuxgndu\/sqlitebrowser<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11129\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/12\/db-browser-for-sqlite-linux-1.png\" alt=\"\" width=\"1026\" height=\"425\" \/><\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ sudo apt update<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ sudo apt install sqlitebrowser<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11130 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/12\/db-browser-for-sqlite-linux-2.png\" alt=\"\" width=\"1026\" height=\"452\" \/><\/p>\n<h3>Debian<\/h3>\n<p>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u5728Debian\u4e0a\u5b89\u88c5\u5b83\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ sudo apt install sqlitebrowser<\/p>\n<h3>Fedora<\/h3>\n<p>Fedora \u4e2d\u9ed8\u8ba4\u5305\u542b SQLite DB \u6d4f\u89c8\u5668\u3002\u8981\u5b89\u88c5\u5b83\uff0c\u53ea\u9700\u952e\u5165\uff1a<span id=\"ezoic-pub-ad-placeholder-192\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<div id=\"google_ads_iframe_\/1254144,22642593790\/linuxiac_com-box-4_0__container__\">linuxmi@linuxmi:~\/www.linuxmi.com$ sudo dnf install sqlitebrowser<\/div>\n<h3>Arch Linux<\/h3>\n<p>\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528 Pacman \u5305\u7ba1\u7406\u5668\u5b89\u88c5\u5230 Arch Linux \u4e2d\u3002<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ sudo pacman -S sqlitebrowser<\/p>\n<h3>openSUSE<\/h3>\n<p>openSUSE\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\u5b83\uff1a<\/p>\n<p>linuxmi@linuxmi:~\/www.linuxmi.com$ sudo zypper install sqlitebrowser<\/p>\n<h2>\u5982\u4f55\u4f7f\u7528 SQLite \u6570\u636e\u5e93\u6d4f\u89c8\u5668<\/h2>\n<p>DB Browser for SQLite \u7684\u521d\u59cb\u754c\u9762\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11131\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/12\/sqlitebrowser.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/figure>\n<\/div>\n<p>\u901a\u8fc7\u5de6\u4e0a\u89d2\u7684\u56db\u4e2a\u9009\u9879\u5361\u53ef\u4ee5\u5f88\u597d\u5730\u5b8c\u6210\u6570\u636e\u5e93\u7ba1\u7406\u3002<\/p>\n<ul>\n<li><strong>\u6570\u636e\u5e93\u7ed3\u6784<\/strong>\uff1a\u521b\u5efa\u3001\u5217\u51fa\u548c\u5220\u9664\u6570\u636e\u5e93\u8868\u3002<\/li>\n<li><strong>\u6d4f\u89c8\u6570\u636e<\/strong>\uff1a\u6d4f\u89c8\u8868\u4e2d\u7684\u503c\u3001\u6dfb\u52a0\u884c\u548c\u66f4\u6539\u503c\u3002<\/li>\n<li><strong>\u7f16\u8f91\u6742\u6ce8<\/strong>\uff1a\u63a7\u5236 SQLite \u73af\u5883\u4e2d\u7684\u5404\u79cd\u73af\u5883\u53d8\u91cf\u548c\u72b6\u6001\u6807\u5fd7\u3002<\/li>\n<li><strong>\u6267\u884c SQL<\/strong>\uff1a\u4f7f\u7528\u6b64\u9009\u9879\u5361\u6267\u884c SQL \u547d\u4ee4\u3002<\/li>\n<\/ul>\n<p>\u6700\u521d\u8fd9\u4e9b\u5c06\u662f\u7a7a\u7684\uff0c\u56e0\u4e3a\u60a8\u8fd8\u6ca1\u6709\u521b\u5efa\u6216\u6253\u5f00\u6570\u636e\u5e93\u3002<\/p>\n<h2>\u6253\u5f00\u6570\u636e\u5e93<\/h2>\n<p>\u4f7f\u7528 SQLite DB \u6d4f\u89c8\u5668\u6253\u5f00\u6570\u636e\u5e93\u6587\u4ef6\u5c31\u50cf\u60a8\u671f\u671b\u7684\u90a3\u6837\u975e\u5e38\u7b80\u5355\u3002<span id=\"ezoic-pub-ad-placeholder-195\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<p>\u8981\u6253\u5f00\u6570\u636e\u5e93\u6587\u4ef6\uff0c\u8bf7\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\uff1a<\/p>\n<ol>\n<li>\u5355\u51fb\u5de5\u5177\u680f\u4e2d\u7684\u201c<strong>\u6253\u5f00\u6570\u636e\u5e93<\/strong>\u201d\u6309\u94ae\u3002<\/li>\n<li>\u5bfc\u822a\u5230\u60a8\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u5b58\u50a8\u6570\u636e\u5e93\u6587\u4ef6\u7684\u4f4d\u7f6e\u3002<\/li>\n<li>\u9009\u62e9\u5b83\u5e76\u5355\u51fb\u201c<strong>\u6253\u5f00<\/strong>\u201d\u3002<\/li>\n<\/ol>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11132\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/12\/sqlitebrowser-1.png\" alt=\"\" width=\"1236\" height=\"891\" \/><\/figure>\n<\/div>\n<p>\u6b64\u5916\uff0c\u60a8\u8fd8\u53ef\u4ee5\u5c06\u6587\u4ef6\u76f4\u63a5\u62d6\u5165\u7528\u6237\u754c\u9762\uff0c\u5b83\u4f1a\u6253\u5f00\u6587\u4ef6\u3002<\/p>\n<p>\u5982\u679c\u60a8\u8fd8\u6ca1\u6709\u6b64\u6570\u636e\u5e93\u7684\u526f\u672c\uff0c\u53ef\u4ee5<a href=\"https:\/\/www.sqlitetutorial.net\/sqlite-sample-database\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u4ece\u6b64\u5904<\/a>\u4e0b\u8f7d SQLite \u793a\u4f8b\u6570\u636e\u5e93\u3002<\/p>\n<h2>\u6d4f\u89c8\u6570\u636e<\/h2>\n<p>\u60a8\u53ef\u4ee5\u901a\u8fc7\u53f3\u952e\u5355\u51fb\u8868\u540d\u79f0\u5e76\u9009\u62e9\u201c<strong>\u6d4f\u89c8\u8868<\/strong>\u201d\u9009\u9879\u6765\u6d4f\u89c8\u8868\u548c\u67e5\u770b\u8bb0\u5f55\u3002<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11133\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/12\/db-browser-for-sqlite-linux-3.png\" alt=\"\" width=\"1238\" height=\"875\" \/> \u7ed3\u679c\u663e\u793a\u8868\u8bb0\u5f55\u3002<\/figure>\n<\/div>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11134 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/12\/db-browser-for-sqlite-linux-4.png\" alt=\"\" width=\"1219\" height=\"862\" \/><\/figure>\n<\/div>\n<h2>\u5728 SQLite \u6570\u636e\u5e93\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c SQL \u67e5\u8be2<\/h2>\n<p>\u5f53\u7136\uff0c\u6570\u636e\u5e93\u7684\u5f3a\u5927\u4e4b\u5904\u5728\u4e8e\u5176\u67e5\u627e\u548c\u63d0\u53d6\u8bb0\u5f55\u7684\u80fd\u529b\u3002\u5bf9\u4e8e SQL \u517c\u5bb9\u7684\u6570\u636e\u5e93\uff0c\u6211\u4eec\u4f7f\u7528 SQL \u8bed\u8a00\u6765\u6267\u884c\u6b64\u64cd\u4f5c\u3002<\/p>\n<p>DB Browser \u652f\u6301\u76f4\u63a5\u5728\u201c<strong>\u6267\u884c SQL<\/strong>\u00a0\u201d\u9009\u9879\u5361\u4e0b\u7f16\u5199 SQL \u67e5\u8be2\u3002\u6240\u4ee5\u8ba9\u6211\u4eec\u8fd0\u884c\u4e00\u4e2a\u67e5\u8be2\u6765\u770b\u770b\u5b83\u662f\u5982\u4f55\u5de5\u4f5c\u7684\u3002<\/p>\n<p>\u952e\u5165\u67e5\u8be2\u5e76\u5355\u51fb\u84dd\u8272\u7bad\u5934\u4ee5\u6267\u884c\u60a8\u7684 SQL \u547d\u4ee4\u3002\u7ed3\u679c\u663e\u793a\u5728\u4e0b\u90e8\u7a97\u683c\u4e2d\u3002<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11136\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/12\/db-browser-for-sqlite-linux-5.png\" alt=\"\" width=\"1219\" height=\"862\" \/><\/figure>\n<\/div>\n<h2>\u7ed3\u8bba<\/h2>\n<p>SQLite DB Browser \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u4e0e SQLite \u6570\u636e\u5e93\u4ea4\u4e92\u7684\u5de5\u5177\u3002\u5b83\u88ab\u5f00\u53d1\u4eba\u5458\u548c\u6700\u7ec8\u7528\u6237\u4f7f\u7528\u3002<\/p>\n<p>SQLite DB \u6d4f\u89c8\u5668\u4e0d\u662f\u4e3a SQLite \u8bbe\u8ba1\u7684\uff0c\u4e5f\u4e0d\u9700\u8981\u4e86\u89e3 SQL\u3002\u5b83\u53ea\u662f\u4e00\u4e2a\u5e2e\u52a9\u7528\u6237\u4f7f\u7528 SQLite \u6570\u636e\u5e93\u7684\u53ef\u89c6\u5316\u5de5\u5177\u3002<\/p>\n<p>\u6709\u5173\u5b83\u7684\u66f4\u591a\u4fe1\u606f\uff0c\u60a8\u53ef\u4ee5\u8bbf\u95ee\u8be5\u00a0<a href=\"https:\/\/sqlitebrowser.org\/\" target=\"_blank\" rel=\"nofollow noopener\">\u9879\u76ee\u7684\u7f51\u7ad9<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u5411\u60a8\u5c55\u793a\u5982\u4f55\u5b89\u88c5\u548c\u4f7f\u7528 SQLite DB Browser \u6765\u52a0\u8f7d\u6570\u636e\u5e93\u6587\u4ef6\u3001\u6d4f\u89c8\u6570 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[856],"class_list":["post-11127","post","type-post","status-publish","format-standard","hentry","category-linux","tag-db-browser-for-sqlite"],"aioseo_notices":[],"views":3483,"_links":{"self":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/11127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/comments?post=11127"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/11127\/revisions"}],"predecessor-version":[{"id":11145,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/11127\/revisions\/11145"}],"wp:attachment":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/media?parent=11127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/categories?post=11127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/tags?post=11127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}